public void CenterEquality_SameCenters_HashTheSameasLocation() { var mainlocation = new VoronoiPoint(5, 7); var sut = new Centers(2, mainlocation); Assert.IsTrue(mainlocation.GetHashCode() == sut.GetHashCode()); }
public override int GetHashCode() { return(center.GetHashCode()); }
public override int GetHashCode() { return(location.GetHashCode()); }