MCPcopy
hub / github.com/openreasoner/openr / test_with_supexpr

Function test_with_supexpr

envs/MATH/latex2sympy/tests/atom_expr_test.py:30–31  ·  view source on GitHub ↗
(label, text, symbol_text, subscript)

Source from the content-addressed store, hash-verified

28
29@pytest.mark.parametrize('label, text, symbol_text, subscript', examples)
30def test_with_supexpr(label, text, symbol_text, subscript):
31 assert_equal(text + '^2', Pow(Symbol(symbol_text, real=True), Integer(2)))
32
33
34@pytest.mark.parametrize('label, text, symbol_text, subscript', examples)

Callers

nothing calls this directly

Calls 1

assert_equalFunction · 0.85

Tested by

no test coverage detected