public void GetHashCodeIsStableAcrossInstances() { // Arrange var sut = new OmitSpecimen(); // Act var actual = sut.GetHashCode(); // Assert var expected = new OmitSpecimen().GetHashCode(); Assert.Equal(expected, actual); }
public void GetHashCodeIsStableAcrossInstances() { // Fixture setup var sut = new OmitSpecimen(); // Exercise system var actual = sut.GetHashCode(); // Verify outcome var expected = new OmitSpecimen().GetHashCode(); Assert.Equal(expected, actual); // Teardown }