public void XYZW_EnumSameValues_AreEqual() { var loc1 = new XYZW <ObjectLayer>(1, 2, 3, ObjectLayer.Ground); var loc2 = new XYZW <ObjectLayer>(1, 2, 3, ObjectLayer.Ground); Assert.AreEqual(loc1, loc2); Assert.AreEqual(loc1.GetHashCode(), loc2.GetHashCode()); }