| Directory: | ./ |
|---|---|
| File: | lib/lib.cpp |
| Date: | 2020-09-29 20:07:33 |
| Exec | Total | Coverage | |
|---|---|---|---|
| Lines: | 4 | 5 | 80.0% |
| Branches: | 3 | 6 | 50.0% |
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | #include <iostream> | ||
| 2 | |||
| 3 | 1 | int print(int test) | |
| 4 | { | ||
| 5 |
1/2✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
|
1 | if ( ! test ) |
| 6 | 1 | return 1; | |
| 7 | else | ||
| 8 | ✗ | return 2; | |
| 9 |
2/4✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
✓ Branch 2 taken 1 times.
✗ Branch 3 not taken.
|
3 | } |
| 10 |