Skip to main content

Module assertions

Module assertions 

Source

Macros§

assert_instruction_lists_eq
Asserts that two lists of instructions are equal. The expected instructions can be provided either as a tuple of nested instructions or as a vector of instructions.
assert_instructions_equal
instructions
instructions_with_span

Functions§

assert_instruction_lists_eq
resolve_instructions
Resolves the instructions from a DXB byte slice, panicking if there is an error This is called by the assert_instructions_equal! macro to resolve the instructions from the DXB and compare them to the expected instructions