diff --git a/unitTests/rawTestData/Calculation/Functions/ERROR_TYPE.data b/unitTests/rawTestData/Calculation/Functions/ERROR_TYPE.data new file mode 100644 index 00000000..5f7a25da --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/ERROR_TYPE.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_BLANK.data b/unitTests/rawTestData/Calculation/Functions/IS_BLANK.data new file mode 100644 index 00000000..13368fea --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_BLANK.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_ERR.data b/unitTests/rawTestData/Calculation/Functions/IS_ERR.data new file mode 100644 index 00000000..570af432 --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_ERR.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_ERROR.data b/unitTests/rawTestData/Calculation/Functions/IS_ERROR.data new file mode 100644 index 00000000..e1453eb6 --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_ERROR.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_EVEN.data b/unitTests/rawTestData/Calculation/Functions/IS_EVEN.data new file mode 100644 index 00000000..2c8c708d --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_EVEN.data @@ -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!" diff --git a/unitTests/rawTestData/Calculation/Functions/IS_LOGICAL.data b/unitTests/rawTestData/Calculation/Functions/IS_LOGICAL.data new file mode 100644 index 00000000..0587b68a --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_LOGICAL.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_NA.data b/unitTests/rawTestData/Calculation/Functions/IS_NA.data new file mode 100644 index 00000000..5af30133 --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_NA.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_NONTEXT.data b/unitTests/rawTestData/Calculation/Functions/IS_NONTEXT.data new file mode 100644 index 00000000..3af6f307 --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_NONTEXT.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_NUMBER.data b/unitTests/rawTestData/Calculation/Functions/IS_NUMBER.data new file mode 100644 index 00000000..33449f54 --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_NUMBER.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/IS_ODD.data b/unitTests/rawTestData/Calculation/Functions/IS_ODD.data new file mode 100644 index 00000000..34962f54 --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_ODD.data @@ -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!" diff --git a/unitTests/rawTestData/Calculation/Functions/IS_TEXT.data b/unitTests/rawTestData/Calculation/Functions/IS_TEXT.data new file mode 100644 index 00000000..6c3cb2e1 --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/IS_TEXT.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/N.data b/unitTests/rawTestData/Calculation/Functions/N.data new file mode 100644 index 00000000..107fa4fd --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/N.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Functions/TYPE.data b/unitTests/rawTestData/Calculation/Functions/TYPE.data new file mode 100644 index 00000000..9ad5a51e --- /dev/null +++ b/unitTests/rawTestData/Calculation/Functions/TYPE.data @@ -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 diff --git a/unitTests/rawTestData/Calculation/Logical/IFERROR.data b/unitTests/rawTestData/Calculation/Logical/IFERROR.data index bf2cfc92..69a85839 100644 --- a/unitTests/rawTestData/Calculation/Logical/IFERROR.data +++ b/unitTests/rawTestData/Calculation/Logical/IFERROR.data @@ -1,4 +1,8 @@ -TRUE, "Not an Error", "Not an Error" -"", "Error", "" -"ABC", "Error", "ABC" -"#VALUE!","Error", "Error" +, "Error", NULL +TRUE, "Error", TRUE +42, "Error", 42 +"", "Error", "" +"ABC", "Error", "ABC" +"#VALUE!", "Error", "Error" +"#NAME?", "Error", "Error" +"#N/A", "Error", "Error"