mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-13 21:13:53 +00:00
Fix variable argument functions in expressions
204ef7a708466d8739e5dcbfbc4794b57cabab0f Co-Authored-By: Octavia Togami <2093023+octylFractal@users.noreply.github.com>
This commit is contained in:
@ -51,6 +51,9 @@ class ExpressionTest extends BaseExpressionTest {
|
||||
// check functions
|
||||
testCase("sin(5)", sin(5)),
|
||||
testCase("atan2(3, 4)", atan2(3, 4)),
|
||||
testCase("min(1, 2)", 1),
|
||||
testCase("max(1, 2)", 2),
|
||||
testCase("max(1, 2, 3, 4, 5)", 5),
|
||||
// check conditionals
|
||||
testCase("0 || 5", 5),
|
||||
testCase("2 || 5", 2),
|
||||
|
Reference in New Issue
Block a user