Skip to content

Commit f5aea63

Browse files
tests: update after libsemigroups changes
Namely the changes in #790 that check is_obviously_infinite before trying to return the number_of_classes.
1 parent 41c4fc1 commit f5aea63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_cong.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def test_018():
5959

6060
assert not cong.finished()
6161
assert cong.number_of_classes() == POSITIVE_INFINITY
62-
assert cong.finished()
6362

6463
kb1 = KnuthBendix(congruence_kind.twosided, p)
6564
assert cong.has(KnuthBendix)
@@ -71,6 +70,7 @@ def test_018():
7170
assert kb2.number_of_classes() == POSITIVE_INFINITY
7271

7372
assert kb2.contains([0], [1])
73+
cong.run()
7474
assert not cong.has(ToddCoxeter)
7575
assert not cong.has(Kambites)
7676

@@ -101,8 +101,8 @@ def test_has_get():
101101
assert c.has(ToddCoxeter)
102102
tc = c.get(ToddCoxeter)
103103

104+
c.run()
104105
assert c.number_of_classes() == POSITIVE_INFINITY
105-
assert c.number_of_runners() == 1
106106
assert not c.has(ToddCoxeter)
107107
assert not c.has(Kambites)
108108
assert c.has(KnuthBendix)

0 commit comments

Comments
 (0)