macro_rules! assert_ok { ( $x:expr ) => { ... }; }
Assert that a Result is Ok
Result
Ok
If the provided expresion evaulates to Ok, then the macro returns the value contained within the Ok. If the Result is an Err then the macro will panic with a message that includes the expression and the error.
Err
panic