InDeltaSlicef is the same as InDelta, except it compares two slices.
(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{})
| 375 | |
| 376 | // InDeltaSlicef is the same as InDelta, except it compares two slices. |
| 377 | func InDeltaSlicef(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool { |
| 378 | if h, ok := t.(tHelper); ok { |
| 379 | h.Helper() |
| 380 | } |
| 381 | return InDeltaSlice(t, expected, actual, delta, append([]interface{}{msg}, args...)...) |
| 382 | } |
| 383 | |
| 384 | // InEpsilonf asserts that expected and actual have a relative error less than epsilon |
| 385 | func InEpsilonf(t TestingT, expected interface{}, actual interface{}, epsilon float64, msg string, args ...interface{}) bool { |
no test coverage detected