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.
14 lines
316 B
Plaintext
14 lines
316 B
Plaintext
"1357", "#NUM!"
|
|
"246", "10100110"
|
|
"3", 3, "011"
|
|
"12345", "#NUM!"
|
|
"123.45", "#NUM!"
|
|
"0", "0"
|
|
TRUE, "#VALUE!"
|
|
"3579", "#NUM!"
|
|
"7777777000", "1000000000" // 2's Complement
|
|
"7777777777", "1111111111" // 2's Complement
|
|
"17777777777", "#NUM!" // Too small
|
|
"777", "111111111"
|
|
"1777", "#NUM!" // Too large
|