Files
RustPython/tests/snippets/math.py
Daniel Watkins dc633ef818 Comment or move all currently-failing snippet tests
This allows us to make the snippet tests merge-blockers, whilst
improving over time.
2018-08-04 13:55:23 -04:00

19 lines
228 B
Python

a = 4
#print(a ** 3)
#print(a * 3)
#print(a / 2)
#print(a % 3)
#print(a - 3)
#print(-a)
#print(+a)
assert a ** 3 == 64
assert a * 3 == 12
assert a / 2 == 2
# assert a % 3 == 1
assert a - 3 == 1
assert -a == -4
assert +a == 4