(t *testing.T)
| 314 | } |
| 315 | |
| 316 | func TestInDeltaWrapper(t *testing.T) { |
| 317 | t.Parallel() |
| 318 | |
| 319 | require := New(t) |
| 320 | require.InDelta(1.001, 1, 0.01) |
| 321 | |
| 322 | mockT := new(MockT) |
| 323 | mockRequire := New(mockT) |
| 324 | mockRequire.InDelta(1, 2, 0.5) |
| 325 | if !mockT.Failed { |
| 326 | t.Error("Check should fail") |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | func TestZeroWrapper(t *testing.T) { |
| 331 | t.Parallel() |