(t *testing.T)
| 6 | ) |
| 7 | |
| 8 | func TestAdd(t *testing.T) { |
| 9 | t.Parallel() |
| 10 | var want float64 = 4 |
| 11 | got := calculator.Add(2, 2) |
| 12 | if want != got { |
| 13 | t.Errorf("want %f, got %f", want, got) |
| 14 | } |
| 15 | } |
nothing calls this directly
no outgoing calls
no test coverage detected