[][src]Macro cov_mark::check

macro_rules! check {
    ($ident:ident) => { ... };
}

Checks that a specified mark was hit.

Example

#[test]
fn test_safe_divide_by_zero() {
    cov_mark::check!(save_divide_zero);
    assert_eq!(safe_divide(92, 0), 0);
}