public void CoordinateCloseToTest() { var reference = new Coordinate(25, 35); Assert.IsTrue(reference.CloseTo(new Coordinate(23, 37)), "Close on both X and Y"); Assert.IsFalse(reference.CloseTo(new Coordinate(22, 33)), "Close on Y only"); Assert.IsFalse(reference.CloseTo(new Coordinate(27, 38)), "Close on X only"); Assert.IsFalse(reference.CloseTo(new Coordinate(28, 32)), "Not Close"); }