Data files for Unit Tests

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85785 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2012-01-26 20:08:27 +00:00
parent 97ea12ef6d
commit cbc1e24cb4
14 changed files with 226 additions and 4 deletions

View File

@ -0,0 +1,14 @@
"#N/A"
NULL, "#N/A"
-1, "#N/A"
1.25, "#N/A"
"", "#N/A"
"2.5", "#N/A"
TRUE, "#N/A"
"#NULL!", 1
"#DIV/0!", 2
"#VALUE!", 3
"#REF!", 4
"#NAME?", 5
"#NUM!", 6
"#N/A", 7

View File

@ -0,0 +1,16 @@
TRUE
NULL, TRUE
-1, FALSE
0, FALSE
9, FALSE
1.5, FALSE
"", FALSE
"-1", FALSE
"2", FALSE
"-1.5", FALSE
"ABC", FALSE
"#VALUE!", FALSE
"#N/A", FALSE
"TRUE", FALSE
TRUE, FALSE
FALSE, FALSE

View File

@ -0,0 +1,16 @@
FALSE
NULL, FALSE
-1, FALSE
0, FALSE
9, FALSE
1.5, FALSE
"", FALSE
"-1", FALSE
"2", FALSE
"-1.5", FALSE
"ABC", FALSE
"#VALUE!", TRUE
"#N/A", FALSE
"TRUE", FALSE
TRUE, FALSE
FALSE, FALSE

View File

@ -0,0 +1,16 @@
FALSE
NULL, FALSE
-1, FALSE
0, FALSE
9, FALSE
1.5, FALSE
"", FALSE
"-1", FALSE
"2", FALSE
"-1.5", FALSE
"ABC", FALSE
"#VALUE!", TRUE
"#N/A", TRUE
"TRUE", FALSE
TRUE, FALSE
FALSE, FALSE

View File

@ -0,0 +1,20 @@
"#NAME?"
NULL, "#NAME?"
-1, FALSE
0, TRUE
9, FALSE
1.25, FALSE
1.5, FALSE
2.25, TRUE
2.5, TRUE
"", "#VALUE!"
"-1", FALSE
"2", TRUE
"-1.5", FALSE
"2.5", TRUE
"ABC", "#VALUE!"
"#VALUE!", "#VALUE!"
"#N/A", "#VALUE!"
"TRUE", "#VALUE!"
TRUE, "#VALUE!"
FALSE, "#VALUE!"

View File

@ -0,0 +1,16 @@
FALSE
NULL, FALSE
-1, FALSE
0, FALSE
9, FALSE
1.5, FALSE
"", FALSE
"-1", FALSE
"2", FALSE
"-1.5", FALSE
"ABC", FALSE
"#VALUE!", FALSE
"#N/A", FALSE
"TRUE", FALSE
TRUE, TRUE
FALSE, TRUE

View File

@ -0,0 +1,16 @@
FALSE
NULL, FALSE
-1, FALSE
0, FALSE
9, FALSE
1.5, FALSE
"", FALSE
"-1", FALSE
"2", FALSE
"-1.5", FALSE
"ABC", FALSE
"#VALUE!", FALSE
"#N/A", TRUE
"TRUE", FALSE
TRUE, FALSE
FALSE, FALSE

View File

@ -0,0 +1,16 @@
TRUE
NULL, TRUE
-1, TRUE
0, TRUE
9, TRUE
1.5, TRUE
"", FALSE
"-1", FALSE
"2", FALSE
"-1.5", FALSE
"ABC", FALSE
"#VALUE!", TRUE
"#N/A", TRUE
"TRUE", FALSE
TRUE, TRUE
FALSE, TRUE

View File

@ -0,0 +1,16 @@
FALSE
NULL, FALSE
-1, TRUE
0, TRUE
9, TRUE
1.5, TRUE
"", FALSE
"-1", FALSE
"2", FALSE
"-1.5", FALSE
"ABC", FALSE
"#VALUE!", FALSE
"#N/A", FALSE
"TRUE", FALSE
TRUE, FALSE
FALSE, FALSE

View File

@ -0,0 +1,20 @@
"#NAME?"
NULL, "#NAME?"
-1, TRUE
0, FALSE
9, TRUE
1.25, TRUE
1.5, TRUE
2.25, FALSE
2.5, FALSE
"", "#VALUE!"
"-1", TRUE
"2", FALSE
"-1.5", TRUE
"2.5", FALSE
"ABC", "#VALUE!"
"#VALUE!", "#VALUE!"
"#N/A", "#VALUE!"
"TRUE", "#VALUE!"
TRUE, "#VALUE!"
FALSE, "#VALUE!"

View File

@ -0,0 +1,16 @@
FALSE
NULL, FALSE
-1, FALSE
0, FALSE
9, FALSE
1.5, FALSE
"", TRUE
"-1", TRUE
"2", TRUE
"-1.5", TRUE
"ABC", TRUE
"#VALUE!", FALSE
"#N/A", FALSE
"TRUE", TRUE
TRUE, FALSE
FALSE, FALSE

View File

@ -0,0 +1,20 @@
0
NULL, 0
-1, -1
1.25, 1.25
"", 0
"2.5", 0
"TRUE", 0
"ABCDE", 0
TRUE, 1
"#DIV/0!", "#DIV/0!"
"#NUM!", "#NUM!"
{}, 0
{123}, 123
{123|456}, 123
{123|"A"}, 123
{"A"|123}, 0
{"A"|123;456|789}, 0
{123|"A";456|789}, 123
{123|456;"A"|789}, 123
{123|456;789|"A"}, 123

View File

@ -0,0 +1,16 @@
1
NULL, 1
-1, 1
1.25, 1
"", 2
"2.5", 2
"TRUE", 2
"ABCDE", 2
TRUE, 4
"#DIV/0!", 16
"#NUM!", 16
{}, 1
{1}, 1
{1;2;3}, 64
{1|2|3;4|5|6;7|8|9}, 64
{|;|}, 64

View File

@ -1,4 +1,8 @@
TRUE, "Not an Error", "Not an Error" , "Error", NULL
TRUE, "Error", TRUE
42, "Error", 42
"", "Error", "" "", "Error", ""
"ABC", "Error", "ABC" "ABC", "Error", "ABC"
"#VALUE!", "Error", "Error" "#VALUE!", "Error", "Error"
"#NAME?", "Error", "Error"
"#N/A", "Error", "Error"