(t *testing.T, a, b float64, places int)
| 13 | ) |
| 14 | |
| 15 | func assertAlmostEqual(t *testing.T, a, b float64, places int) { |
| 16 | if math.Abs(a-b) > math.Pow10(-places) { |
| 17 | t.Errorf("%.7f != %.7f", a, b) |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | func assertEqual(t *testing.T, a, b any) { |
| 22 | if !reflect.DeepEqual(a, b) { |
no test coverage detected