(self)
| 77 | assert omml_to_latex(elem) == r"\frac{a}{b}" |
| 78 | |
| 79 | def test_superscript(self): |
| 80 | elem = _wrap_in_omath( |
| 81 | "<m:sSup>" |
| 82 | "<m:e><m:r><m:t>x</m:t></m:r></m:e>" |
| 83 | "<m:sup><m:r><m:t>2</m:t></m:r></m:sup>" |
| 84 | "</m:sSup>" |
| 85 | ) |
| 86 | assert omml_to_latex(elem) == "{x}^{2}" |
| 87 | |
| 88 | def test_subscript(self): |
| 89 | elem = _wrap_in_omath( |
nothing calls this directly
no test coverage detected