public void testEquality() { XYLocation loc1 = new XYLocation(3, 4); XYLocation loc2 = new XYLocation(3, 4); Assert.AreEqual(loc1, loc2); } }