Directory: | ../ |
---|---|
File: | src/main.cpp |
Date: | 2020-07-30 19:45:43 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 3 | 4 | 75.0% |
Branches: | 1 | 2 | 50.0% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | bool no(bool); | ||
2 | int yes(int); | ||
3 | |||
4 | 1 | int main(int argc, char *argv[]) | |
5 | { | ||
6 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 times.
|
1 | if (no(true)) { |
7 | ✗ | return yes(7); | |
8 | } | ||
9 | else { | ||
10 | 1 | return yes(10); | |
11 | } | ||
12 | } | ||
13 |