(t *testing.T, a, b float64, places int)
| 10 | ) |
| 11 | |
| 12 | func assertAlmostEqual(t *testing.T, a, b float64, places int) { |
| 13 | if math.Abs(a-b) > math.Pow10(-places) { |
| 14 | t.Errorf("%.7f != %.7f", a, b) |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func assertEqual(t *testing.T, a, b interface{}) { |
| 19 | if !reflect.DeepEqual(a, b) { |
no test coverage detected
searching dependent graphs…