| Line | Branch | Condition | Exec | Source |
|---|---|---|---|---|
| 1 | #include <iostream> | |||
| 2 | ||||
| 3 | 1 | int print(int test) | ||
| 4 | { | |||
| 5 |
1/2✓ Branch 0 (2→3) taken 1 times.
✗ Branch 1 (2→4) not taken.
|
1/2✗ False not covered.
|
1 | if ( ! test ) |
| 6 | 1 | return 1; | ||
| 7 | else | |||
| 8 | ✗ | return 2; | ||
| 9 | } | |||
| 10 |