def test_ceil(self):

        yield self.do_func("ceil"), "null", 0
        yield self.do_func("ceil"), "void 0", 0
        yield self.do_func("ceil"), "true", 1
        yield self.do_func("ceil"), "false", 0
        yield self.do_func("ceil"), "'1.1'", 2
        yield self.do_func("ceil"), "'-1.1'", -1
        yield self.do_func("ceil"), "'0.1'", 1
        yield self.do_func("ceil"), "'-0.1'", 0
        yield self.do_func("ceil"), "0", 0
        # "j": -0,
        yield self.do_expr, "Math.ceil(-0) == -Math.floor(0)", True
        yield self.do_func("ceil"), "Infinity", INFINITY
        yield (self.do_expr, "Math.ceil(Infinity) == -Math.floor(-Infinity)",
               True)
        yield self.do_func("ceil"), "-Infinity", NEG_INFINITY
        yield self.do_func("ceil"), "0.0000001", 1
        yield self.do_func("ceil"), "-0.0000001", 0
Test that the ceil() function works properly.
dataset/ETHPy150Open mozilla/app-validator/tests/js/test_math.py/TestMathFuncs.test_ceil