def test_exp(self):

        yield self.do_func("exp"), "null", 1
        yield self.do_func("exp"), "false", 1
        yield self.do_expr, "Math.exp(1) == Math.E", True
        yield self.do_expr, "Math.exp('1') == Math.E", True
        yield self.do_func("exp"), "'0'", 1
        yield self.do_func("exp"), "0", 1
        yield self.do_func("exp"), "-0", 1
        yield self.do_expr, "Math.exp(Infinity) == Infinity", True
        yield self.do_expr, "Math.exp(-Infinity) == 0", True
Test that the exp() function works properly.
dataset/ETHPy150Open mozilla/app-validator/tests/js/test_math.py/TestMathFuncs.test_exp