Skip to content

Commit

Permalink
tests: test that rm_epsilon returns fst
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Aug 15, 2024
1 parent d7634ac commit a59ebdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rustfst-python/tests/algorithms/test_rm_epsilon.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def test_rm_epsilon():
tr1_2 = Tr(1, 0, 3.0, s2)
expected_fst.add_tr(s1, tr1_2)

fst1.rm_epsilon()
rv = fst1.rm_epsilon()
assert rv == fst1

assert expected_fst == fst1

0 comments on commit a59ebdd

Please sign in to comment.