Skip to content

Commit

Permalink
Adding the assert to verify that we're producing the `LLVMPatternMa…
Browse files Browse the repository at this point in the history
…tchingFailureEvent` correctly
  • Loading branch information
Robertorosmaninho committed Sep 18, 2024
1 parent c4c6cb6 commit 29781e3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyk/src/tests/integration/kllvm/test_prooftrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,14 @@ def test_parse_proof_hint_peano(self, hints: bytes, header: prooftrace.KoreHeade
# 12 initialization events
assert len(pt.pre_trace) == 12

# 404 post-initial-configuration events
# 776 post-initial-configuration events
assert len(pt.trace) == 776

# Assert that we have a pattern matching failure as the 135th event
assert pt.trace[135].is_step_event() and isinstance(
pt.trace[135].step_event, prooftrace.LLVMPatternMatchingFailureEvent
)


class TestIMP5(ProofTraceTest):
KOMPILE_DEFINITION = """
Expand Down

0 comments on commit 29781e3

Please sign in to comment.