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{})
| 360 | |
| 361 | // InDeltaMapValuesf is the same as InDelta, but it compares all values between two maps. Both maps must have exactly the same keys. |
| 362 | func InDeltaMapValuesf(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool { |
| 363 | if h, ok := t.(tHelper); ok { |
| 364 | h.Helper() |
| 365 | } |
| 366 | return InDeltaMapValues(t, expected, actual, delta, append([]interface{}{msg}, args...)...) |
| 367 | } |
| 368 | |
| 369 | // InDeltaSlicef is the same as InDelta, except it compares two slices. |
| 370 | func InDeltaSlicef(t TestingT, expected interface{}, actual interface{}, delta float64, msg string, args ...interface{}) bool { |
no test coverage detected
searching dependent graphs…