Equalf fails a test if the actual does not match the expected
(t *testing.T, a, b interface{}, message string)
| 70 | |
| 71 | // Equalf fails a test if the actual does not match the expected |
| 72 | func Equalf(t *testing.T, a, b interface{}, message string) { |
| 73 | ok, m := checkEqual(a, b, message) |
| 74 | if !ok { |
| 75 | t.Fatal(m) |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | // NotEqual fails a test if the actual matches the expected |
| 80 | func NotEqual(t *testing.T, a, b interface{}, message string) { |