diff options
| author | Yuren Hao <yurenh2@timan108.cs.illinois.edu> | 2025-09-04 22:16:22 -0500 |
|---|---|---|
| committer | Yuren Hao <yurenh2@timan108.cs.illinois.edu> | 2025-09-04 22:16:22 -0500 |
| commit | fc6d57ffb8d5ddb5820fcc00b5491a585c259ebc (patch) | |
| tree | e9841f93a353e2107225cfc721d1ce57c0e594dc /Qwen2.5-Eval/evaluation/latex2sympy/tests/trig_test.py | |
Initial commit
Diffstat (limited to 'Qwen2.5-Eval/evaluation/latex2sympy/tests/trig_test.py')
| -rwxr-xr-x | Qwen2.5-Eval/evaluation/latex2sympy/tests/trig_test.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Qwen2.5-Eval/evaluation/latex2sympy/tests/trig_test.py b/Qwen2.5-Eval/evaluation/latex2sympy/tests/trig_test.py new file mode 100755 index 0000000..4689ea5 --- /dev/null +++ b/Qwen2.5-Eval/evaluation/latex2sympy/tests/trig_test.py @@ -0,0 +1,21 @@ +from .context import assert_equal +import pytest +from sympy import asinh, Symbol + +# x = Symbol('x', real=True); + +# latex = "\\sinh(x)" +# math = process_sympy(latex) +# print("latex: %s to math: %s" %(latex,math)) +# +# latex = "\\arcsinh(x)" +# math = process_sympy(latex) +# print("latex: %s to math: %s" %(latex,math)) +# +# latex = "\\arsinh(x)" +# math = process_sympy(latex) +# print("latex: %s to math: %s" %(latex,math)) + + +def test_arcsinh(): + assert_equal("\\operatorname{arcsinh}\\left(1\\right)", asinh(1, evaluate=False)) |
