InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys.
(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{})
| 367 | |
| 368 | // InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys. |
| 369 | func InDeltaMapValuesf(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool { |
| 370 | if h, ok := t.(tHelper); ok { |
| 371 | h.Helper() |
| 372 | } |
| 373 | return InDeltaMapValues(t, expected, actual, delta, append([]interface{}{msg}, args...)...) |
| 374 | } |
| 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 { |
no test coverage detected