Function assert_test_result

fn assert_test_result<T: Termination>(result: T) -> Result<(), String>

Invoked when unit tests terminate. Returns Result::Err if the test is considered a failure. By default, invokes report() and checks for a 0 result.