Modules§
- dispatch
- fault
- ghost
- A compile-time-checked layer for writing read-only test properties and ghost state on top of the rest of precept.
- macros_
stubs - random
Macros§
- emit_
event - expect_
always - expect_
always_ or_ unreachable - expect_
reachable - expect_
sometimes - expect_
unreachable - function_
name - observe
- Runs a read-only observation block, optionally borrowing one or more
GhostStates. - setup_
complete - sometimes_
fault
Structs§
- Ghost
State - See the
enableddefinition for documentation.
Constants§
- ENABLED
- If ENABLED is false, all precept macros and faults are disabled
Functions§
- init
- Initializes the precept library with a static dispatcher reference.
- init_
boxed - Initializes the precept library with a boxed dispatcher.