diff --git a/tests/cql/CqlArithmeticFunctionsTest.xml b/tests/cql/CqlArithmeticFunctionsTest.xml
index 72e3d73..6695af3 100644
--- a/tests/cql/CqlArithmeticFunctionsTest.xml
+++ b/tests/cql/CqlArithmeticFunctionsTest.xml
@@ -3,6 +3,16 @@
name="CqlArithmeticFunctionsTest" reference="https://cql.hl7.org/09-b-cqlreference.html#arithmetic-operators-4" version="1.0">
+
@@ -35,6 +45,16 @@
Abs(-1L)
+
+
+ Abs(minimum Integer)
+
+
+
+
+ Abs(minimum Long)
+
+
@@ -69,6 +89,21 @@
1L + 1L
+
+
+ (maximum Integer) + 1
+
+
+
+
+ 25L + 5
+
+
+
+
+ 5.5'cm' + 2'cm2'
+
+
@@ -113,8 +148,8 @@
- Ceiling(2147483648)
-
+
+ Ceiling(2147483648)
Ceiling(2147483648.2)
@@ -133,8 +168,8 @@
- Ceiling(-2147483649)
-
+
+ Ceiling(-2147483649)
Ceiling(-2147483649.2)
@@ -207,6 +242,12 @@
10.0 'g' / 5
+
+
+
+ 5.0 'g' / 0
+
+
@@ -255,8 +296,8 @@
- Floor(2147483648)
-
+
+ Floor(2147483648)
Floor(2147483648.2)
@@ -275,8 +316,8 @@
- Floor(-2147483649)
-
+
+ Floor(-2147483649)
Floor(-2147483649.2)
@@ -314,12 +355,13 @@
- Exp(1000)
-
+
+ Exp(1000)
+
- Exp(1000.0)
-
+ Exp(1000.0)
+
@@ -425,12 +467,13 @@
- Ln(0)
-
+
+ Ln(0)
+
- Ln(-0)
-
+ Ln(-0)
+
Ln(1)
@@ -621,6 +664,11 @@
+
+
+ (maximum Integer) * 2
+
+
@@ -680,6 +728,16 @@
-(1'cm')
+
+
+ -(minimum Integer)
+
+
+
+
+ -(minimum Long)
+
+
@@ -704,6 +762,10 @@
Precision(@T10:30:00.000)
+
+ Precision(null as Decimal)
+
+
@@ -747,12 +809,13 @@
- predecessor of DateTime(0001, 1, 1, 0, 0, 0, 0)
-
+
+ predecessor of DateTime(0001, 1, 1, 0, 0, 0, 0)
+
- predecessor of @T00:00:00.000
-
+ predecessor of @T00:00:00.000
+
@@ -866,6 +929,16 @@
Round(-1.6)
+
+
+ Round(2.5)
+
+
+
+
+ Round(3.14159, null)
+
+
@@ -895,6 +968,16 @@
2 - 1.1
+
+
+ (minimum Integer) - 1
+
+
+
+
+ 3.14 'cm' - 3.12 'cm2'
+
+
@@ -933,12 +1016,13 @@
- successor of DateTime(9999, 12, 31, 23, 59, 59, 999)
-
+
+ successor of DateTime(9999, 12, 31, 23, 59, 59, 999)
+
- successor of @T23:59:59.999
-
+ successor of @T23:59:59.999
+