def test_f_quotient(): assert f_quotient(-1, 3) == -1 assert f_quotient(0, 3) == 0 assert f_quotient(1, 3) == 0 assert f_quotient(2, 3) == 0 assert f_quotient(3, 3) == 1 assert f_quotient(3.123, 3) == 1
def test_f_quotient_2(): assert f_quotient(0, 1, 13) == -1 for i in range(1, 13): assert f_quotient(i, 1, 13) == 0 assert f_quotient(13, 1, 13) == 1 assert f_quotient(13.123, 1, 13) == 1