Ejemplo n.º 1
0
        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());
        }