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