Refactor tests data from custom format to PHP

FIX #14
This commit is contained in:
Adrien Crivelli
2016-08-16 21:00:19 +09:00
parent 467babcb44
commit e1f81f0fe0
403 changed files with 20307 additions and 3959 deletions
@@ -0,0 +1,124 @@
<?php
return [
[
'12.34+5.67j',
5.6699999999999999,
],
[
'1.234E-5+6.78E9i',
6780000000.0,
],
[
'3.5+2.5i',
2.5,
],
[
'3.5+i',
1,
],
[
'3.5',
0,
],
[
'3.5-i',
-1,
],
[
'3.5-2.5i',
-2.5,
],
[
'1+2.5i',
2.5,
],
[
'1+i',
1,
],
[
'1',
0,
],
[
1,
0,
],
[
'1-i',
-1,
],
[
'1-2.5i',
-2.5,
],
[
'2.5i',
2.5,
],
[
'i',
1,
],
[
'0',
0,
],
[
0,
0,
],
[
0.0,
0,
],
[
'-i',
-1,
],
[
'-2.5i',
-2.5,
],
[
'-1+2.5i',
2.5,
],
[
'-1+i',
1,
],
[
'-1',
0,
],
[
'-1-i',
-1,
],
[
'-1-2.5i',
-2.5,
],
[
'-3.5+2.5i',
2.5,
],
[
'-3.5+i',
1,
],
[
'-3.5',
0,
],
[
'-3.5-i',
-1,
],
[
'-3.5-2.5i',
-2.5,
],
];