summaryrefslogtreecommitdiff
path: root/tests/lean/Hashmap/FunsExternal.lean
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/lean/Hashmap/FunsExternal.lean19
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