summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/builtin_round.py
blob: 7f0edfe84d864765281d86349f8156be83acc232 (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))