Skip to main content

run_example

Function run_example 

Source
pub fn run_example(ex: &Example, engine: &mut dyn Engine) -> Result<(), String>
Expand description

Run one example against one engine: load the setup, apply every event (accepted or refused as the example says), check the expectations named after each event, make the changes named after it, then check the rest.