public void HashCodeFalseOnDifferentValues() { MapEntry me = new MapEntry(1, "abc"); PersistentVector v = PersistentVector.create(1, "abcd"); Expect(me.GetHashCode(), Not.EqualTo(v.GetHashCode())); }
public void HashCodeSameAsPersistentVector() { MapEntry me = new MapEntry(1, "abc"); PersistentVector v = PersistentVector.create(1, "abc"); Expect(me.GetHashCode(), EqualTo(v.GetHashCode())); }