Commit 7aae48c
committed
test: add Divide happy path test to meet 90% coverage threshold
Line coverage was 75% and branch coverage was 50% because
the non-zero divisor path in Calculator.Divide was untested.
Made-with: Cursor1 parent 31399e1 commit 7aae48c
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
| |||
0 commit comments