epfl-lara / stainless

Verification framework and tool for higher-order Scala programs
https://epfl-lara.github.io/stainless/
Apache License 2.0
349 stars 50 forks source link

Equivalence checker: allows for let-binding in tests and output 'expected but got' results #1485

Closed mario-bucev closed 9 months ago

mario-bucev commented 9 months ago

This PR allows having introducing val for tests, which may get created by some phases (e.g. the test in separate/Model contains binding introduced by RefinementLifting). For unequivalence, it also outputs the expected result as well as the result from the candidate function.