Expand description
Holds macros for osom projects. These macros should be used in tests only.
Modules§
Macros§
- assert_
eq_ hex - Compares two operands by equality. If operands are not equal panics and prints both operands as hex arrays.
- assert_
neq_ hex - Compares two operands by equality. If operands are equal panics and prints a single operand as hex array.
- convert_
to_ fn - Transforms pointerable into a function pointer.
- convert_
to_ fn_ with_ offset - Transforms pointerable into a function pointer.