Implementsf asserts that an object is implemented by the specified interface. assert.Implementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted")
(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{})
| 349 | // |
| 350 | // assert.Implementsf(t, (*MyInterface)(nil), new(MyObject), "error message %s", "formatted") |
| 351 | func Implementsf(t TestingT, interfaceObject interface{}, object interface{}, msg string, args ...interface{}) bool { |
| 352 | if h, ok := t.(tHelper); ok { |
| 353 | h.Helper() |
| 354 | } |
| 355 | return Implements(t, interfaceObject, object, append([]interface{}{msg}, args...)...) |
| 356 | } |
| 357 | |
| 358 | // InDeltaf asserts that the two numerals are within delta of each other. |
| 359 | // |
no test coverage detected