blob: 4689ea5d7e87334bdb6fb21ebb43615483a02df5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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))
|