public void GetHashCode_DifferentResult_NotEqual(SimpleResult r1, SimpleResult r2) { // arrange - in theory // act var hc1 = r1.GetHashCode(); var hc2 = r2.GetHashCode(); // assert Assert.NotEqual(hc1, hc2); }
public void GetHashCode_SameResults_Equal(SimpleResult r1, SimpleResult r2) { // arrange - in theory // act var hc1 = r1.GetHashCode(); var hc2 = r2.GetHashCode(); // assert Assert.Equal(hc1, hc2); }