public void Should_be_not_equal_if_they_are_different_types() { Mammal a = new Mammal { HasDiaphragm = true, HasSweatGlands = true }; FakeMammal b = new FakeMammal { HasDiaphragm = true, HasSweatGlands = true }; Assert.IsFalse(a.Equals(b), "a should not be equal to b"); }
public UnitDog() { d = new Dog(); f = new FakeMammal(); }