diff --git a/tests/e2e/compiler/numeric.test.ts b/tests/e2e/compiler/numeric.test.ts index 6dc43ae..3e55e1e 100644 --- a/tests/e2e/compiler/numeric.test.ts +++ b/tests/e2e/compiler/numeric.test.ts @@ -29,10 +29,18 @@ fn main(): i32 { return 29; }; - if ( -2.5 % 2.0 * -3.0 != 10.0 - 1.0 / 2.0 % 10.0 - 8.0 ) { + if ( (-2.5 % 2.0) * -3.0 != 10.0 - ( 1.0 / 2.0 % 10.0 ) - 8.0 ) { return 33; }; + if ( -2.5 % 2.0 * -3.0 != 10.0 - ( 1.0 / 2.0 % 10.0 ) - 8.0 ) { + return 37; + }; + + if ( -2.5 % 2.0 * -3.0 != 10.0 - 1.0 / 2.0 % 10.0 - 8.0 ) { + return 41; + }; + return 36; }`;