diff options
author | Son Ho | 2023-03-07 13:46:55 +0100 |
---|---|---|
committer | Son HO | 2023-06-04 21:44:33 +0200 |
commit | 051e2a19f3268d272a0acd0425d2107ebea020c5 (patch) | |
tree | 2ad36d00054ac891e48cb35c4dc1940433c5e707 /tests/lean/betree/BetreeMain/Opaque.lean | |
parent | 463cbb90c93ac2e825048d685c254431b99c4d96 (diff) |
Reorganize the Lean tests and extract the Polonius tests to Lean
Diffstat (limited to '')
-rw-r--r-- | tests/lean/betree/BetreeMain/Opaque.lean | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/lean/betree/BetreeMain/Opaque.lean b/tests/lean/betree/BetreeMain/Opaque.lean new file mode 100644 index 00000000..b3db37c2 --- /dev/null +++ b/tests/lean/betree/BetreeMain/Opaque.lean @@ -0,0 +1,33 @@ +-- THIS FILE WAS AUTOMATICALLY GENERATED BY AENEAS +-- [betree_main]: opaque function definitions +import Base.Primitives +import BetreeMain.Types + +structure OpaqueDefs where + + /- [betree_main::betree_utils::load_internal_node] -/ + betree_utils_load_internal_node_fwd + : + UInt64 -> State -> Result (State × (betree_list_t (UInt64 × + betree_message_t))) + + /- [betree_main::betree_utils::store_internal_node] -/ + betree_utils_store_internal_node_fwd + : + UInt64 -> betree_list_t (UInt64 × betree_message_t) -> State -> Result + (State × Unit) + + /- [betree_main::betree_utils::load_leaf_node] -/ + betree_utils_load_leaf_node_fwd + : UInt64 -> State -> Result (State × (betree_list_t (UInt64 × UInt64))) + + /- [betree_main::betree_utils::store_leaf_node] -/ + betree_utils_store_leaf_node_fwd + : + UInt64 -> betree_list_t (UInt64 × UInt64) -> State -> Result (State × + Unit) + + /- [core::option::Option::{0}::unwrap] -/ + core_option_option_unwrap_fwd + (T : Type) : Option T -> State -> Result (State × T) + |