We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb79473 commit 66c5260Copy full SHA for 66c5260
engine/util_test.go
@@ -52,6 +52,7 @@ func TestParseAndExecSimple(t *testing.T) {
52
{"127^2+5/2-sqrt(2^2) + cbrt(3^3)", 16132.5},
53
{"max(2)", 2},
54
{"max(abs(1)+10)", 11},
55
+ {"max(abs(1)+10)*2-1", 21},
56
{"max(2,3.5)", 3.5},
57
{"max(2^3,3+abs(-1)*6)", 9},
58
{"max(2^3,3+abs(-1)*6, 20)", 20},
0 commit comments