diff options
author | Nadrieril | 2024-05-27 14:59:10 +0200 |
---|---|---|
committer | Nadrieril | 2024-05-27 17:22:56 +0200 |
commit | 2b40c5c3de1ee2caca2c0072f812fea04b5a0238 (patch) | |
tree | 687a640232f17269ad33f1a841817491962d4de9 /tests/lean/Hashmap/FunsExternal.lean | |
parent | 4f26c7f6f1e554d8ec2f46e868d5dc66c4160d16 (diff) |
tests: Merge the hashmap test files
Diffstat (limited to 'tests/lean/Hashmap/FunsExternal.lean')
-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..7454696b --- /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::hashmap_utils::deserialize]: + Source: 'tests/src/hashmap.rs', lines 330:4-330:47 -/ +def hashmap_utils.deserialize + : State → Result (State × (HashMap U64)) := + fun _ => .fail .panic + +/- [hashmap::hashmap_utils::serialize]: + Source: 'tests/src/hashmap.rs', lines 325:4-325:46 -/ +def hashmap_utils.serialize + : HashMap U64 → State → Result (State × Unit) := + fun _ _ => .fail .panic |