def test_constants(): assert sympify(sympy.E) == E assert sympy.E == E._sympy_() assert sympify(sympy.pi) == pi assert sympy.pi == pi._sympy_() assert sympify(sympy.GoldenRatio) == GoldenRatio assert sympy.GoldenRatio == GoldenRatio._sympy_() assert sympify(sympy.Catalan) == Catalan assert sympy.Catalan == Catalan._sympy_() assert sympify(sympy.EulerGamma) == EulerGamma assert sympy.EulerGamma == EulerGamma._sympy_() assert sympify(sympy.oo) == oo assert sympy.oo == oo._sympy_() assert sympify(sympy.zoo) == zoo assert sympy.zoo == zoo._sympy_() assert sympify(sympy.nan) == nan assert sympy.nan == nan._sympy_()
def test_constants(): assert sympify(sympy.E) == E assert sympy.E == E._sympy_() assert sympify(sympy.pi) == pi assert sympy.pi == pi._sympy_()