MCPcopy
hub / github.com/HKUDS/RAG-Anything / test_simple_run

Method test_simple_run

tests/test_omml_extractor.py:66–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 """Direct conversion of OMML XML fragments to LaTeX."""
65
66 def test_simple_run(self):
67 elem = _wrap_in_omath("<m:r><m:t>x</m:t></m:r>")
68 assert omml_to_latex(elem) == "x"
69
70 def test_fraction(self):
71 elem = _wrap_in_omath(

Callers

nothing calls this directly

Calls 2

omml_to_latexFunction · 0.90
_wrap_in_omathFunction · 0.85

Tested by

no test coverage detected