PhpSpreadsheet/tests/rawTestData/Calculation/Engineering/BIN2DEC.data
Adrien Crivelli 00657c906e
Reorganize unit tests
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.
2016-08-14 02:29:33 +09:00

11 lines
256 B
Plaintext

"10110010", "178"
"1100100", "100"
"111001010101", "#NUM!" // Too large
"101", "5"
"10", "2"
"0", "0"
"21", "#NUM!" // Invalid binary number
TRUE, "#VALUE!" // Non string
"1110010101", "-107" // 2's Complement
"1111111111", "-1" // 2's Complement