Skip to content

Commit

Permalink
tests: add test case (Multiply(Number, Access))
Browse files Browse the repository at this point in the history
  • Loading branch information
yusshu authored Sep 4, 2023
1 parent 74a5a50 commit 511439b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/resources/tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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))
math.round(math.acos(-1) + math.atan2(2, 4))

0 comments on commit 511439b

Please sign in to comment.