diff --git a/tests/test_date/good/durations.catala_en b/tests/test_date/good/durations.catala_en index c646e706..874076dd 100644 --- a/tests/test_date/good/durations.catala_en +++ b/tests/test_date/good/durations.catala_en @@ -19,5 +19,5 @@ scope A: definition z2 equals z3 = 5937 day definition d equals z3 /^ z3 - definition d2 equals z3 /^ 1 day + definition d2 equals z3 /^ 2 day ``` diff --git a/tests/test_date/good/output/durations.catala_en.A.out b/tests/test_date/good/output/durations.catala_en.A.out index 6ad34ce7..6d73e0b6 100644 --- a/tests/test_date/good/output/durations.catala_en.A.out +++ b/tests/test_date/good/output/durations.catala_en.A.out @@ -1,5 +1,6 @@ [RESULT] Computation successful! Results: [RESULT] d = 1. +[RESULT] d2 = 2968.5 [RESULT] x = 2019-01-01 [RESULT] y = 2002-09-30 [RESULT] z = true diff --git a/tests/test_dec/good/infinite_precision.catala_en b/tests/test_dec/good/infinite_precision.catala_en index ef88360a..8f99c2b6 100644 --- a/tests/test_dec/good/infinite_precision.catala_en +++ b/tests/test_dec/good/infinite_precision.catala_en @@ -6,12 +6,10 @@ declaration scope A: context y content decimal context z content decimal context a content decimal - context b content decimal scope A: definition x equals 84.64866565265689623 definition y equals -. 4.36829778705320654980 definition z equals 654265429805103220650980650.5705405106540 definition a equals x /. y *. (x +. y) *. (x *. x *. z *. z) - definition b equals a /. 0.0 ```