summaryrefslogtreecommitdiff
path: root/tests/lean/BetreeMain/Opaque.lean
diff options
context:
space:
mode:
authorSon Ho2023-07-04 14:57:51 +0200
committerSon Ho2023-07-04 14:57:51 +0200
commit87d6f6c7c90bf7b427397d6bd2e2c70d610678e3 (patch)
treece6f570b8916db1877e505f719461241bafaed0d /tests/lean/BetreeMain/Opaque.lean
parent4fd17e4bb91eb46d4704643dfbfbbf0874837b07 (diff)
Reorganize the Lean tests
Diffstat (limited to '')
-rw-r--r--tests/lean/BetreeMain/Opaque.lean31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/lean/BetreeMain/Opaque.lean b/tests/lean/BetreeMain/Opaque.lean
new file mode 100644
index 00000000..c8226d4e
--- /dev/null
+++ b/tests/lean/BetreeMain/Opaque.lean
@@ -0,0 +1,31 @@
+-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS
+-- [betree_main]: opaque function definitions
+import Base
+import BetreeMain.Types
+open Primitives
+
+structure OpaqueDefs where
+
+ /- [betree_main::betree_utils::load_internal_node] -/
+ betree_utils_load_internal_node_fwd
+ :
+ U64 -> State -> Result (State × (betree_list_t (U64 × betree_message_t)))
+
+ /- [betree_main::betree_utils::store_internal_node] -/
+ betree_utils_store_internal_node_fwd
+ :
+ U64 -> betree_list_t (U64 × betree_message_t) -> State -> Result (State ×
+ Unit)
+
+ /- [betree_main::betree_utils::load_leaf_node] -/
+ betree_utils_load_leaf_node_fwd
+ : U64 -> State -> Result (State × (betree_list_t (U64 × U64)))
+
+ /- [betree_main::betree_utils::store_leaf_node] -/
+ betree_utils_store_leaf_node_fwd
+ : U64 -> betree_list_t (U64 × U64) -> State -> Result (State × Unit)
+
+ /- [core::option::Option::{0}::unwrap] -/
+ core_option_option_unwrap_fwd
+ (T : Type) : Option T -> State -> Result (State × T)
+