Function tester::assert_test_result

source ·
pub fn assert_test_result<T: Termination>(result: T)
Expand description

Invoked when unit tests terminate. Should panic if the unit Tests is considered a failure. By default, invokes report() and checks for a 0 result.