Skip to content

Commit 86cf3c7

Browse files
committed
Add more tests
1 parent e59dc65 commit 86cf3c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

integration_tests/test_builtin_round.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ def test_round():
88
print(round(f))
99
f = 44.34
1010
print(round(f))
11+
f = 0.5
12+
print(round(f))
13+
f = -50.5
14+
print(round(f))
15+
f = 1.5
16+
print(round(f))
1117
assert round(13.001) == 13
1218
assert round(-40.49999) == -40
1319

0 commit comments

Comments
 (0)