From f77e3f9cbe2ea7abeb4be815bdbf33d0c98076c2 Mon Sep 17 00:00:00 2001
From: Nadrieril
Date: Mon, 27 May 2024 13:28:28 +0200
Subject: tests: Rename betree_main -> betree

---
 tests/lean/Betree/FunsExternal.lean | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 tests/lean/Betree/FunsExternal.lean

(limited to 'tests/lean/Betree/FunsExternal.lean')

diff --git a/tests/lean/Betree/FunsExternal.lean b/tests/lean/Betree/FunsExternal.lean
new file mode 100644
index 00000000..859cbd68
--- /dev/null
+++ b/tests/lean/Betree/FunsExternal.lean
@@ -0,0 +1,30 @@
+-- [betree]: external functions.
+import Base
+import Betree.Types
+open Primitives
+open betree
+
+-- TODO: fill those bodies
+
+/- [betree::betree_utils::load_internal_node] -/
+def betree_utils.load_internal_node
+  :
+  U64 → State → Result (State × (betree.List (U64 × betree.Message))) :=
+  fun _ _ => .fail .panic
+
+/- [betree::betree_utils::store_internal_node] -/
+def betree_utils.store_internal_node
+  :
+  U64 → betree.List (U64 × betree.Message) → State → Result (State
+    × Unit) :=
+  fun _ _ _ => .fail .panic
+
+/- [betree::betree_utils::load_leaf_node] -/
+def betree_utils.load_leaf_node
+  : U64 → State → Result (State × (betree.List (U64 × U64))) :=
+  fun _ _ => .fail .panic
+
+/- [betree::betree_utils::store_leaf_node] -/
+def betree_utils.store_leaf_node
+  : U64 → betree.List (U64 × U64) → State → Result (State × Unit) :=
+  fun _ _ _ => .fail .panic
-- 
cgit v1.2.3

