(t *testing.T)
| 89 | } |
| 90 | |
| 91 | func TestExactly(t *testing.T) { |
| 92 | t.Parallel() |
| 93 | |
| 94 | a := float32(1) |
| 95 | b := float32(1) |
| 96 | c := float64(1) |
| 97 | |
| 98 | Exactly(t, a, b) |
| 99 | |
| 100 | mockT := new(MockT) |
| 101 | Exactly(mockT, a, c) |
| 102 | if !mockT.Failed { |
| 103 | t.Error("Check should fail") |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | func TestNotNil(t *testing.T) { |
| 108 | t.Parallel() |