This commit is contained in:
1 parent
f8bc419c0b
commit
a4927fc78c
1 file changed
+1
-1
@@ -24,7 +24,7 @@ from slic.utils.eval import *
|
||||
("3 + -4", -1),
|
||||
("True + 1", 2),
|
||||
("string", "string"),
|
||||
("1e1000 * 1e1000", inf),
|
||||
("1e1000 * 1e1000", float("inf")),
|
||||
("'a' + 'b'", "ab") # string concatenation supported !!!
|
||||
])
|
||||
def test_arithmetic_eval_valid(expr, expected):
|
||||
|
||||
Reference in new issue
Block a user