diff --git a/tests/cql/CqlArithmeticFunctionsTest.xml b/tests/cql/CqlArithmeticFunctionsTest.xml index 2b0e5e6..ff1a881 100644 --- a/tests/cql/CqlArithmeticFunctionsTest.xml +++ b/tests/cql/CqlArithmeticFunctionsTest.xml @@ -321,7 +321,7 @@ minimum DateTime - @0001-01-01T00:00:00.000 + @0001-01-01T00:00:00.000Z minimum Date @@ -348,7 +348,7 @@ maximum DateTime - @9999-12-31T23:59:59.999 + @9999-12-31T23:59:59.999Z maximum Date diff --git a/tests/cql/CqlComparisonOperatorsTest.xml b/tests/cql/CqlComparisonOperatorsTest.xml index 6b7fea9..91b7c40 100644 --- a/tests/cql/CqlComparisonOperatorsTest.xml +++ b/tests/cql/CqlComparisonOperatorsTest.xml @@ -133,10 +133,6 @@ @2014-01-25T14:30:14.559+01:00 = @2014-01-25T14:30:14.559+01:00 true - - @2022-02-22T00:00:00.000-05:00 same day as @2022-02-22T04:59:00.000Z - true - @T10:00:00.000 = @T10:00:00.000 true @@ -171,10 +167,6 @@ 0.0 > -1.0 true - - 1.0 > 2 - false - 0'cm' > 0'cm' false @@ -275,10 +267,6 @@ 0.0 >= -1.0 true - - 1.0 >= 2 - false - 0'cm' >= 0'cm' true @@ -387,10 +375,6 @@ 0.0 < -1.0 false - - 1.0 < 2 - true - 0'cm' < 0'cm' false @@ -491,10 +475,6 @@ 0.0 <= -1.0 false - - 1.0 <= 2 - true - 0'cm' <= 0'cm' true diff --git a/tests/cql/CqlConditionalOperatorsTest.xml b/tests/cql/CqlConditionalOperatorsTest.xml index 7fe76a5..1da5d0e 100644 --- a/tests/cql/CqlConditionalOperatorsTest.xml +++ b/tests/cql/CqlConditionalOperatorsTest.xml @@ -30,7 +30,7 @@ case when 5 > 10 then 5 + 10 - when 5 = 10 then 5 + when 5 = 10 then 10 else 10 - 5 end diff --git a/tests/cql/CqlIntervalOperatorsTest.xml b/tests/cql/CqlIntervalOperatorsTest.xml index 9683d4b..099db40 100644 --- a/tests/cql/CqlIntervalOperatorsTest.xml +++ b/tests/cql/CqlIntervalOperatorsTest.xml @@ -192,7 +192,7 @@ collapse {Interval(null, null)} - null + { } collapse { Interval[1,5], Interval[3,7], Interval[12,19], Interval[7,10] } @@ -246,7 +246,7 @@ expand { Interval[@T10:00, @T12:30] } per hour - { Interval[@T10, @T10], Interval[@T11, @T11], Interval[@T12, @T12] } + { Interval[@T10:00, @T11:00), Interval[@T11:00, @T12:00) } expand { Interval[10.0, 12.5] } per 1 @@ -263,11 +263,11 @@ - expand Interval[1, 10] + expand { Interval[1, 10] } { Interval[1, 1], Interval[2, 2], Interval[3, 3], Interval[4, 4], Interval[5, 5], Interval[6, 6], Interval[7, 7], Interval[8, 8], Interval[9, 9], Interval[10, 10] } - expand Interval[1, 10] per 2 + expand { Interval[1, 10] } per 2 { Interval[1, 2], Interval[3, 4], Interval[5, 6], Interval[7, 8], Interval[9, 10] } @@ -492,7 +492,7 @@ 5 in Interval[null, null] - true + false 5 in Interval[1, 10] @@ -669,22 +669,6 @@ null - - end of (Interval[1, 10] intersect Interval[5, null)) <= 10 - true - - - end of (Interval[1, 10] intersect Interval[5, null)) >= 5 - true - - - end of (Interval[1, 10] intersect Interval[5, null)) > 10 - false - - - end of (Interval[1, 10] intersect Interval[5, null)) < 5 - false - Interval[1, 10] intersect Interval[4, 10] Interval [ 4, 10 ] @@ -1219,7 +1203,7 @@ Interval[null as Integer, null as Integer] properly includes Interval[1, 10] - true + null Interval[1, 10] properly includes Interval[4, 10] @@ -1265,7 +1249,7 @@ Interval[1, 10] properly included in Interval[null, null] - true + null Interval[4, 10] properly included in Interval[1, 10] diff --git a/tests/cql/CqlListOperatorsTest.xml b/tests/cql/CqlListOperatorsTest.xml index 9c342b9..2eda175 100644 --- a/tests/cql/CqlListOperatorsTest.xml +++ b/tests/cql/CqlListOperatorsTest.xml @@ -50,7 +50,7 @@ { 'a', 'b', null } contains null - true + null { null, 'b', 'c' } contains 'a' @@ -129,7 +129,7 @@ {null} = {null} - true + null {} as List<String> = null @@ -279,11 +279,11 @@ null in {} - false + null null in { 1, null } - true + null 1 in null diff --git a/tests/cql/CqlStringOperatorsTest.xml b/tests/cql/CqlStringOperatorsTest.xml index 9056781..c260946 100644 --- a/tests/cql/CqlStringOperatorsTest.xml +++ b/tests/cql/CqlStringOperatorsTest.xml @@ -8,7 +8,7 @@ Combine({}) - null + '' Combine({'a', 'b', 'c'}) @@ -224,7 +224,7 @@ 'Who put the bang in the bang she bang she bang?' - ReplaceMatches('All that glitters is not gold', '\\s', '$$') + ReplaceMatches('All that glitters is not gold', '\\s', '\\$') 'All$that$glitters$is$not$gold' diff --git a/tests/cql/CqlTypeOperatorsTest.xml b/tests/cql/CqlTypeOperatorsTest.xml index 03c922e..4e32587 100644 --- a/tests/cql/CqlTypeOperatorsTest.xml +++ b/tests/cql/CqlTypeOperatorsTest.xml @@ -96,14 +96,6 @@ ToDateTime('2014/01/01T12:05:05.955Z') - - ToDateTime(@2014-01-01) - @2014-01-01T - - - hour from ToDateTime(@2014-01-01) is null - true - diff --git a/tests/cql/CqlTypesTest.xml b/tests/cql/CqlTypesTest.xml index 3ad6479..f3a2817 100644 --- a/tests/cql/CqlTypesTest.xml +++ b/tests/cql/CqlTypesTest.xml @@ -92,10 +92,6 @@ DateTime(9999, 12, 31, 23, 59, 59, 999) @9999-12-31T23:59:59.999 - - hour from @2015-02-10T is null - true -