From 511439b1666414557e919de92b8d7f9681084ad1 Mon Sep 17 00:00:00 2001 From: Andre Roldan Date: Sun, 3 Sep 2023 20:13:36 -0500 Subject: [PATCH] tests: add test case (Multiply(Number, Access)) --- src/test/resources/tests.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/resources/tests.txt b/src/test/resources/tests.txt index a07ea67..befa600 100644 --- a/src/test/resources/tests.txt +++ b/src/test/resources/tests.txt @@ -16,6 +16,9 @@ false ? 5 : 10 # multiline temp.test = 33; return temp.test * 2; +# backwards +temp.test = 33; return 10 * temp.test; + # return temp.test = 4; return temp.test; return 5; @@ -26,4 +29,4 @@ math.pow(math.clamp(500, 0, 3), 2) math.lerprotate(10, 380, 0.5) + math.lerprotate(50, -10, 0.25) # inverse trigonometry -math.round(math.acos(-1) + math.atan2(2, 4)) \ No newline at end of file +math.round(math.acos(-1) + math.atan2(2, 4))