PhpSpreadsheet/tests/PhpSpreadsheetTests/Calculation
oleibman 3db0b2a2de
Corrections for HLOOKUP Function (#2330)
See issue #2123. HLOOKUP needs to do some conversions between column numbers and letters which it had not been doing.

HLOOKUP tests were performed using direct calls to the function in question rather than in the context of a spreadsheet. This contributed to keeping this error obscured even though there were, in theory, sufficient test cases. The tests are changed to perform in spreadsheet context. For the most part, the test cases are unchanged. One of the expected results was wrong; it has been changed, and a new case added to cover the case it was supposed to be testing.

After getting the HLOOKUP tests in order, it turned out that a test using literal arrays which had been succeeding now failed. The array constructed by the literals are considerably different than those constructed using spreadsheet cells; additional code was added to handle this situation.
2021-10-23 17:59:42 -07:00
..
Engine Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
Functions Corrections for HLOOKUP Function (#2330) 2021-10-23 17:59:42 -07:00
CalculationTest.php Some simplification to the locale file loader 2021-05-20 20:41:09 +02:00
DefinedNameConfusedForCellTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
DefinedNamesCalculationTest.php Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
FormulaAsStringTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
FunctionsTest.php isFormula Referencing Sheet With Space in Title (#2306) 2021-10-03 10:04:48 -07:00
IsFormulaTest.php isFormula Referencing Sheet With Space in Title (#2306) 2021-10-03 10:04:48 -07:00
LookupRefTest.php Completion of refactoring for Excel Lookup and Reference functions (#2030) 2021-04-28 14:08:20 +02:00
MergedCellTest.php Select the correct TestCase 2021-05-31 13:59:51 +02:00
RowColumnReferenceTest.php Improve Range handling in the Calculation Engine for Row and Column ranges (#2028) 2021-04-27 19:10:37 +02:00
TranslationTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00
XlfnFunctionsTest.php Reduce PHPStan error in tests 2021-04-12 11:10:23 +09:00