Greater than and Less Than
This commit is contained in:
@@ -285,6 +285,14 @@ func TestOperatorPrecedenceParsing(t *testing.T) {
|
||||
"5 < 4 != 3 > 4",
|
||||
"((5 < 4) != (3 > 4))",
|
||||
},
|
||||
{
|
||||
"5 >= 4 == 3 <= 4",
|
||||
"((5 >= 4) == (3 <= 4))",
|
||||
},
|
||||
{
|
||||
"5 <= 4 != 3 >= 4",
|
||||
"((5 <= 4) != (3 >= 4))",
|
||||
},
|
||||
{
|
||||
"3 + 4 * 5 == 3 * 1 + 4 * 5",
|
||||
"((3 + (4 * 5)) == ((3 * 1) + (4 * 5)))",
|
||||
|
||||
Reference in New Issue
Block a user