Additional cell datatype unit tests (#1301)

This commit is contained in:
Mark Baker
2020-01-03 23:29:53 +01:00
committed by GitHub
parent 0417c8cc2b
commit e19228ecb0
5 changed files with 66 additions and 5 deletions
+29 -4
View File
@@ -8,19 +8,44 @@ return [
'01234567890123456789',
DataType::TYPE_NUMERIC,
],
[
1234567890123456789,
1234567890123456789,
DataType::TYPE_NUMERIC,
],
[
123.456,
'123.456',
DataType::TYPE_NUMERIC,
],
[
1234567890123456789,
1234567890123456789,
123.456,
123.456,
DataType::TYPE_NUMERIC,
],
[
123.456,
123.456,
0,
null,
DataType::TYPE_NUMERIC,
],
[
0,
false,
DataType::TYPE_NUMERIC,
],
[
1,
true,
DataType::TYPE_NUMERIC,
],
[
'#DIV/0!',
'#DIV/0!',
DataType::TYPE_ERROR,
],
[
'#NULL!',
'NOT A VALID ERROR TYPE VALUE',
DataType::TYPE_ERROR,
],
];