* Test Helpers */
(t *testing.T, a interface{}, b interface{})
| 17 | |
| 18 | /* Test Helpers */ |
| 19 | func expect(t *testing.T, a interface{}, b interface{}) { |
| 20 | if a != b { |
| 21 | t.Errorf("Expected %v (type %v) - Got %v (type %v) at %s", b, reflect.TypeOf(b), a, reflect.TypeOf(a), getCaller()) |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | func refute(t *testing.T, a interface{}, b interface{}) { |
| 26 | if a == b { |
no test coverage detected