diff options
author | Guillaume Boisseau | 2024-05-28 11:56:39 +0200 |
---|---|---|
committer | GitHub | 2024-05-28 11:56:39 +0200 |
commit | ef7792c106a1f33397c206fcb5124b5ddfe64378 (patch) | |
tree | a72fae46702fc4c2eb32e1361a2538eb7a5f5545 /tests/lean/Hashmap/FunsExternal.lean | |
parent | 4f26c7f6f1e554d8ec2f46e868d5dc66c4160d16 (diff) | |
parent | c4d2af051c18c4c81b1e57a45210c37c89c8330f (diff) |
Merge pull request #213 from AeneasVerif/cleanup-tests
Diffstat (limited to '')
-rw-r--r-- | tests/lean/Hashmap/FunsExternal.lean | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/lean/Hashmap/FunsExternal.lean b/tests/lean/Hashmap/FunsExternal.lean new file mode 100644 index 00000000..329e5d82 --- /dev/null +++ b/tests/lean/Hashmap/FunsExternal.lean @@ -0,0 +1,19 @@ +-- [hashmap]: external functions. +import Base +import Hashmap.Types +open Primitives +open hashmap + +-- TODO: fill those bodies + +/- [hashmap::utils::deserialize]: + Source: 'tests/src/hashmap.rs', lines 330:4-330:47 -/ +def utils.deserialize + : State → Result (State × (HashMap U64)) := + fun _ => .fail .panic + +/- [hashmap::utils::serialize]: + Source: 'tests/src/hashmap.rs', lines 325:4-325:46 -/ +def utils.serialize + : HashMap U64 → State → Result (State × Unit) := + fun _ _ => .fail .panic |