public void testHashCode() { UnLocode allCaps = new UnLocode("ABCDE"); UnLocode mixedCase = new UnLocode("aBcDe"); Assert.AreEqual(allCaps.GetHashCode(), mixedCase.GetHashCode()); }
public void TestHashCode() { var allCaps = new UnLocode("ABCDE"); var mixedCase = new UnLocode("aBcDe"); Assert.AreEqual(allCaps.GetHashCode(), mixedCase.GetHashCode()); }
public override int GetHashCode() { return(_voyage.GetHashCode() ^ _loadLocation.GetHashCode() ^ _unloadLocation.GetHashCode()); }
public override int GetHashCode() { return(_origin.GetHashCode() ^ _destination.GetHashCode()); }
public override int GetHashCode() { return(_departureLocation.GetHashCode() ^ _arrivalLocation.GetHashCode()); }