This commit is contained in:
@@ -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