PhpSpreadsheet/tests/rawTestData/Calculation/Engineering/DEC2HEX.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

16 lines
438 B
Plaintext

"357", "165"
"1357", "54D"
"246", "F6"
"12345", "3039"
"123456789", "75BCD15"
"100", 4, "0064"
"100", 5.75, "00064" // Leading places as a float
"100", -1, "#NUM!" // Leading places negative
"100", "ABC", "#VALUE!" // Leading places non-numeric
"123.45", "7B"
"0", "0"
"3579A", "#VALUE!" // Invalid decimal
TRUE, "#VALUE!" // Non string
"-54", "FFFFFFFFCA" // 2's Complement
"-107", "FFFFFFFF95" // 2's Complement