From cbb5244062def1b654328edbc6b7b3fc84532bc4 Mon Sep 17 00:00:00 2001 From: yusshu Date: Sun, 3 Sep 2023 20:45:06 -0500 Subject: [PATCH] tests: add pixel test case --- src/test/resources/expectations.txt | 1 + src/test/resources/tests.txt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/test/resources/expectations.txt b/src/test/resources/expectations.txt index 51aab26..8c0c3a1 100644 --- a/src/test/resources/expectations.txt +++ b/src/test/resources/expectations.txt @@ -12,3 +12,4 @@ 9 20 207 +500 diff --git a/src/test/resources/tests.txt b/src/test/resources/tests.txt index befa600..282219a 100644 --- a/src/test/resources/tests.txt +++ b/src/test/resources/tests.txt @@ -30,3 +30,6 @@ math.lerprotate(10, 380, 0.5) + math.lerprotate(50, -10, 0.25) # inverse trigonometry math.round(math.acos(-1) + math.atan2(2, 4)) + +# pixel case +temp.level = 10; 10 * temp.level + (temp.level * temp.level * 4)