PhpSpreadsheet/tests/data/Calculation/MathTrig/ATAN2.php
Mark Baker 342ffb629b
Refactoring of math trig tests (#1102)
* Merge branch 'master' of C:\Projects\PHPOffice\PHPSpreadsheet\develop with conflicts.

* First pass at moving MathTrig tests into individual test files

* Appeasement to the great goddess PHPCS

* Appeasement to the great goddess PHPCS

* Minor scrutinizer issue resolved

* More refactoring of tests into individual test files fr each math/trig function

* More work on the math/trig test refactoring, plus a bit of tidyup of date/time tests as well

* Fix test

* Fix docblock in test

* Finish refactoring Math/Trig tests into separate files

* Fix SubTotal Test

* Import additional classes for SubTotal test
2019-07-23 00:50:30 +02:00

71 lines
1.0 KiB
PHP

<?php
// x_num, y_num, Result
return [
[
'#DIV/0!',
0, 0,
],
[
0.78539816339699997,
1, 1,
],
[
-2.3561944901919998,
-1, -1,
],
[
2.3561944901919998,
-1, 1,
],
[
-0.78539816339699997,
1, -1,
],
[
1.107148717794,
0.5, 1,
],
[
1.8157749899219999,
-0.5, 2,
],
[
0.67474094222400005,
1, 0.80000000000000004,
],
[
-0.64350110879300004,
0.80000000000000004, -0.59999999999999998,
],
[
-1.460139105621,
1, -9,
],
[
0.0,
0.20000000000000001, 0,
],
[
1.107148717794,
0.10000000000000001, 0.20000000000000001,
],
[
1.570796326795,
0, 0.20000000000000001,
],
[
'#VALUE!',
'A', 0.20000000000000001,
],
[
0.78539816339699997,
true, 1,
],
[
-1.570796326795,
false, -2.5,
],
];