Skip to content

Commit ed7caec

Browse files
committed
Add a test for compile time value
1 parent 59e129e commit ed7caec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

integration_tests/test_builtin_abs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ def test_abs():
66
assert abs(x) == 5.5
77
x = -5.5
88
assert abs(x) == 5.5
9+
assert abs(5.5) == 5.5
10+
assert abs(-5.5) == 5.5
911

1012

1113
test_abs()

0 commit comments

Comments
 (0)