|
assert 5.2 == 5.2
|
|
assert 5.2 != 5.3
|
|
|
|
:: Arithmetic
|
|
assert 7.2 == 5.1 + 2.1
|
|
assert 2.0 == + 2.0
|
|
assert 3.0 == 5.0 - 2.0
|
|
assert -5.0 == - 5.0
|
|
assert 10.0 == 5.0 * 2.0
|
|
assert 2.5 == 5.0 / 2.0
|
|
assert 1.0 == 5.0 % 2.0
|
|
assert 0.5 == 5.0 % 1.5
|
|
assert 25.0 == 5.0 ^ 2.0
|