[lang-ref] ( floor ) ( python )
def test_floor():
# math.floor
assert math.floor(1.1) == 1
assert math.floor(0.1) == 0
assert math.floor(-0.1) == -1
assert math.floor(-1.1) == -2
def test_floor():
# math.floor
assert math.floor(1.1) == 1
assert math.floor(0.1) == 0
assert math.floor(-0.1) == -1
assert math.floor(-1.1) == -2