pytexit.test.test_functions module¶
Test pytextit
-
pytexit.test.test_functions.
run_all_tests
(verbose=True, **kwargs)¶
-
pytexit.test.test_functions.
test_hardcoded_names
(verbose=True, **kwargs)¶ Test special numpy functions, greek letters (unicode), and hardcoded conventions (ex: eps for epsilon)
-
pytexit.test.test_functions.
test_py2tex
(verbose=True, **kwargs)¶ - Note : for debugging use
- pt = ast.parse(expr) print(ast.dump(pt))
-
pytexit.test.test_functions.
test_py2tex_py3only
(verbose=True, **kwargs)¶ Some tests valid with Python 3 syntax only (Ex: unicodes: ˆ)
-
pytexit.test.test_functions.
test_simplify_parser
(verbose=True, **kwargs)¶ Test simplifications during Parsing.
simplify_ints and simplify_fractions implemented by alexhagen See PR 7: https://github.com/erwanp/pytexit/pull/7