Macro riker_testkit::p_assert_events[][src]

macro_rules! p_assert_events {
    ($listen:expr, $expected:expr) => { ... };
}

Evaluates events sent from the probe with a vector of expected events. If an unexpected event is received it will assert!(false). Each good event is removed from the expected vector. The assertion is complete when there are no more expected events.