public void GetHashCode_SameForEqual() { var a = new LineSegment2(new Vector2(1, 2), new Vector2(3, 4)); var b = new LineSegment2(new Vector2(1, 2), new Vector2(3, 4)); Assert.AreEqual(a.GetHashCode(), b.GetHashCode()); }