(self)
| 86 | assert omml_to_latex(elem) == "{x}^{2}" |
| 87 | |
| 88 | def test_subscript(self): |
| 89 | elem = _wrap_in_omath( |
| 90 | "<m:sSub>" |
| 91 | "<m:e><m:r><m:t>x</m:t></m:r></m:e>" |
| 92 | "<m:sub><m:r><m:t>i</m:t></m:r></m:sub>" |
| 93 | "</m:sSub>" |
| 94 | ) |
| 95 | assert omml_to_latex(elem) == "{x}_{i}" |
| 96 | |
| 97 | def test_sub_superscript(self): |
| 98 | elem = _wrap_in_omath( |
nothing calls this directly
no test coverage detected