(t *testing.T)
| 267 | } |
| 268 | |
| 269 | func TestInDelta(t *testing.T) { |
| 270 | |
| 271 | InDelta(t, 1.001, 1, 0.01) |
| 272 | |
| 273 | mockT := new(MockT) |
| 274 | InDelta(mockT, 1, 2, 0.5) |
| 275 | if !mockT.Failed { |
| 276 | t.Error("Check should fail") |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | func TestZero(t *testing.T) { |
| 281 |