Lean core-lib tests#5
Conversation
1649cdb to
eb69cd3
Compare
…ave like rust core.
|
This is great! Do we still need the |
|
And what's going wrong with closure extraction? Sometimes |
I like the idea of testing in the same conditions as a user of the library, but it is true that for now the equivalence tests probably covers everything (and more) that the client-test covers. Anyway more tests is not a bad thing, and in the future we might want to add some proofs in client-test which would make it different. So I'd say we keep it. |
I re-activated some of these tests, and added more precise reasons for those that still need to be de-activated. |
…use for the ones that still cannot be activated.
|
Cool, thanks! |
This PR adds a new test framework allowing to check that the lean core library behaves like it is supposed to.
The tests are defined in rust, checking that a call to a
corefunction's result with concrete params gives the expected concrete value. The rust is tested to validate that the expected values correspond to the behaviour of rust core. The tests are also translated to lean with aeneas, and checked in lean.This should validate: