diff options
Diffstat (limited to 'tests/test_offline.py')
| -rw-r--r-- | tests/test_offline.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_offline.py b/tests/test_offline.py new file mode 100644 index 0000000..04b7f46 --- /dev/null +++ b/tests/test_offline.py @@ -0,0 +1,6 @@ +from gap_pipeline.offline import normalize_latex_symbol + + +def test_latex_symbol_aliases_normalize_together() -> None: + assert normalize_latex_symbol(r"x_{n}") == normalize_latex_symbol("x_n") + assert normalize_latex_symbol(r"\\phi") == normalize_latex_symbol(r"\phi") |
