public void CoverageOfEqualityMembers_Should_Be100Percent() { var first = new CorrectlyImplemented(1); var second = new CorrectlyImplemented(1); var third = new CorrectlyImplemented(3); EqualityAssert.EqualityMembers(first, second, third); // sorry, cant assert that code coverage is 100%, please check yourself. }
public void CoverageOfEqualityComparer_Should_Be100Percent() { var first = new CorrectlyImplemented(1); var second = new CorrectlyImplemented(1); var third = new CorrectlyImplemented(3); EqualityAssert.EqualityComparer(CorrectlyImplemented.ValueComparer, first, second, third); EqualityAssert.EqualityComparer(CorrectlyImplemented.ValueComparer, first, second, new DerivedFromCorrectlyImplemented(4)); // sorry, cant assert that code coverage is 100%, please check yourself. }