Greater than and Less Than
This commit is contained in:
@@ -62,6 +62,10 @@ func TestEvalBooleanExpression(t *testing.T) {
|
||||
{"(1 < 2) == false", false},
|
||||
{"(1 > 2) == true", false},
|
||||
{"(1 > 2) == false", true},
|
||||
{"(1 <= 2) == true", true},
|
||||
{"(1 <= 2) == false", false},
|
||||
{"(1 >= 2) == true", false},
|
||||
{"(1 >= 2) == false", true},
|
||||
{`"a" == "a"`, true},
|
||||
{`"a" < "b"`, true},
|
||||
{`"abc" == "abc"`, true},
|
||||
|
||||
Reference in New Issue
Block a user