def test_Ceil(self): expected = [(math.ceil(x), math.ceil(0.05)) for x in zero_one_rng] t = ts.Timer(foo_zero_one, count=len(zero_one_rng), use_dual=True) out = ts.Ceil(t) assert ts.run(out) == expected
def test_Ceil(self): t = ts.Timer(foofloat, count=2) out = ts.Ceil(t) assert ts.run(out) == [2., 3.]