00657c906e
All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace which is autoloaded via composer mechanism. So there is no need for `require()` anymore. Also, tests were moved in `tests/` folder and phpunit should be executed from the project root folder. This is to conform to the de facto standard, notably in use in phpunit itself.
11 lines
381 B
Plaintext
11 lines
381 B
Plaintext
#rate pmt pv fv type result
|
|
0.01, -100, -1000, 10000, 1, 59.673865674295
|
|
0.01, -100, -1000, 10000, 60.082122853762
|
|
0.01, -100, -1000, -9.5785940398132
|
|
0.003333333333, -1000, 50000, 54.78757726
|
|
0.015, -1200, 9000, 5000, 1, 11.90373729
|
|
0.015, -1200, 9000, 5000, 2, "#NUM!"
|
|
0.015, 0.0, 0.0, 5000, 1, "#NUM!"
|
|
0.0, 0.0, -500, 5000, 1, "#NUM!"
|
|
0.0, -50, -250, 150, 1, -2.0
|