| 573 | } |
| 574 | |
| 575 | func TestNotIsType(t *testing.T) { |
| 576 | t.Parallel() |
| 577 | |
| 578 | mockT := new(testing.T) |
| 579 | |
| 580 | if !IsNotType(mockT, new(AssertionTesterConformingObject), new(AssertionTesterNonConformingObject)) { |
| 581 | t.Error("NotIsType should return true: AssertionTesterConformingObject is not the same type as AssertionTesterNonConformingObject") |
| 582 | } |
| 583 | if IsNotType(mockT, new(AssertionTesterConformingObject), new(AssertionTesterConformingObject)) { |
| 584 | t.Error("NotIsType should return false: AssertionTesterConformingObject is the same type as AssertionTesterConformingObject") |
| 585 | } |
| 586 | } |
| 587 | |
| 588 | func TestEqual(t *testing.T) { |
| 589 | t.Parallel() |