Skip to content

Commit 0cfc4b8

Browse files
tests: remove pre-libsemigroups v2.3.0 test case
1 parent 7ad7e1e commit 0cfc4b8

File tree

1 file changed

+12
-27
lines changed

1 file changed

+12
-27
lines changed

tests/test_present.py

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -210,33 +210,18 @@ def check_sort_rules(W):
210210
presentation.add_rule(p, W([1, 2, 1]), W([0]))
211211
p.alphabet_from_rules()
212212
presentation.sort_rules(p)
213-
# TODO when we require libsemigroups v2.3.0 remove the first clause here!
214-
assert p.rules in (
215-
[
216-
W([1, 1]),
217-
W([1, 2, 1]),
218-
W([1, 2, 1]),
219-
W([1, 1, 2, 1]),
220-
W([1, 2, 1]),
221-
W([0]),
222-
W([0, 1, 2, 1]),
223-
W([1, 2, 1]),
224-
W([1, 1, 2, 1]),
225-
W([1, 1]),
226-
],
227-
[
228-
W([1, 2, 1]),
229-
W([0]),
230-
W([1, 1]),
231-
W([1, 2, 1]),
232-
W([1, 1, 2, 1]),
233-
W([1, 1]),
234-
W([0, 1, 2, 1]),
235-
W([1, 2, 1]),
236-
W([1, 2, 1]),
237-
W([1, 1, 2, 1]),
238-
],
239-
)
213+
assert p.rules == [
214+
W([1, 2, 1]),
215+
W([0]),
216+
W([1, 1]),
217+
W([1, 2, 1]),
218+
W([1, 1, 2, 1]),
219+
W([1, 1]),
220+
W([0, 1, 2, 1]),
221+
W([1, 2, 1]),
222+
W([1, 2, 1]),
223+
W([1, 1, 2, 1]),
224+
]
240225

241226

242227
def check_longest_common_subword(W):

0 commit comments

Comments
 (0)