1# cov-mark
2
3Verify that your tests exercise the conditions you think they are exercising
4
5```rust
6fn safe_divide(dividend: u32, divisor: u32) -> u32 {
7    if divisor == 0 {
8        cov_mark::hit!(save_divide_zero);
9        return 0;
10    }
11    dividend / divisor
12}
13
14#[test]
15fn test_safe_divide_by_zero() {
16    cov_mark::check!(save_divide_zero);
17    assert_eq!(safe_divide(92, 0), 0);
18}
19```
20
21See [the docs](https://docs.rs/cov-mark) for details
22