PhpSpreadsheet/tests/PhpSpreadsheetTests/Calculation
oleibman 95b8c4d59b
Continue MathTrig Breakup - Completion! (#1985)
* Continue MathTrig Breakup - Completion!

Continuing the process of breaking MathTrip.php up into smaller classes. This round takes care of everything that was left:
- ABS
- DEGREES
- EXP
- RADIANS
- SQRT
- SQRTPI
- SUMSQ, SUMX2MY2, SUMX2PY2, SUMXMY2

The only notable logic change was that the 3 SUMX* functions had accepted arrays of unlike length; in that condition, they now return N/A, as Excel does. There had been no tests for this condition.

All the functions in MathTrig.php are now deprecated. Except for COMBIN, the test suite executes them only from MathTrig MovedFunctionsTest. COMBIN is still directly called by some Statistics Binomial functions which have not yet had the opportunity to be re-coded for the new location.


Co-authored-by: Mark Baker <mark@lange.demon.co.uk>
2021-04-05 16:39:03 +02:00
..
Engine Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
Functions Continue MathTrig Breakup - Completion! (#1985) 2021-04-05 16:39:03 +02:00
CalculationTest.php Let's start with some appeasements to phpstan, just to reduce the baseline (#1983) 2021-04-03 17:10:40 +02:00
DefinedNameConfusedForCellTest.php Testing - Delete Temp Files When No Longer Needed (#1488) 2020-05-24 20:03:07 +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 Named formula implementation, and improved handling of Defined Names generally (#1535) 2020-07-26 12:00:06 +02:00
FunctionsTest.php Restoring State After Static Changes in Tests (#1571) 2020-07-15 13:23:00 +02:00
LookupRefTest.php Unhappy path tests for FORMULATEXT() Function (#1915) 2021-03-10 22:38:41 +01:00
TranslationTest.php Initial Formula Translation tests (#1886) 2021-02-28 13:18:51 +01:00
XlfnFunctionsTest.php Save Excel 2010+ Functions Properly 2020-05-18 12:37:35 +09:00