summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/builtin_round.py
blob: 579bae39d93005a9eef192ccac7948af7da6ae25 (plain) (blame)
1
2
3
4
5
6
7
8
# test round() with integral values

tests = [
    False, True,
    0, 1, -1, 10
]
for t in tests:
    print(round(t))