Skip to main content

assert_has_pattern

Function assert_has_pattern 

Source
pub fn assert_has_pattern(
    instructions: &[Instruction],
    pattern: &[InstructionPattern],
)
Expand description

Assert that an instruction sequence contains a pattern

Panics with a descriptive message if the pattern is not found