(tb testing.TB, exp, act float64)
| 28 | } |
| 29 | |
| 30 | func equalFloat(tb testing.TB, exp, act float64) { |
| 31 | if exp-act > 0.00000001 || exp-act < -0.00000001 { |
| 32 | tb.Errorf("expected: %#v got: %#v", exp, act) |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | // equals fails the test if exp is not equal to act. |
| 37 | func equals(tb testing.TB, exp, act interface{}) { |
no outgoing calls
no test coverage detected