Skip to content

Commit 4bb54fa

Browse files
present: add test that Issue 52 is resolved
1 parent 1a16538 commit 4bb54fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_present.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,3 +684,12 @@ def test_make_021():
684684
[1, 2, 1],
685685
[0],
686686
]
687+
688+
689+
def test_issue_52_022():
690+
p = Presentation([])
691+
presentation.add_rule(p, [0, 1], [])
692+
p.alphabet_from_rules()
693+
p.validate()
694+
695+
assert presentation.redundant_rule(p, timedelta(seconds=1)) == len(p.rules)

0 commit comments

Comments
 (0)