Skip to content

Add example solutions to default instances for Reach and Deadlock #613

Open
enellis wants to merge 2 commits intodevfrom
example-solutions
Open

Add example solutions to default instances for Reach and Deadlock #613
enellis wants to merge 2 commits intodevfrom
example-solutions

Conversation

@enellis
Copy link
Copy Markdown
Collaborator

@enellis enellis commented Mar 23, 2026

Closes #565.

@jvoigtlaender
Copy link
Copy Markdown
Member

For the defaultReachInstance and defaultDeadlockInstance, it would be nice to add a test each to the test suite, checking that each solution recorded in the instance indeed passes reachEvaluation and deadlockEvaluation, respectively.

To deal with the path/file IO during those tests, it should be possible to proceed analogously to here:

synResult <- getResult $ differentNamesSyntax i cs''
semResult <- if isJust synResult
then withTempDir $ \tmpDir -> getResult $ differentNamesEvaluation tmpDir i cs''
else pure Nothing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add example solutions to (default) instances for Reach.Reach and Reach.Deadlock

2 participants