public void GetHashCodeTest3() { var pointA = new Point(0, (1 << 16) + 1); var pointB = new Point(0, 1); Assert.AreNotEqual(PointExtensions.GetHashCode(pointA), PointExtensions.GetHashCode(pointB)); }
public void GetHashCodeTest1() { Point point = new Point(); int expected = 0; int actual; actual = PointExtensions.GetHashCode(point); Assert.AreEqual(expected, actual); }