public void AddTest() { Coordinate a = new Coordinate(0, 0); Coordinate b = new NullCoordinate(); Coordinate c = a + b; Assert.IsFalse(a.IsNull()); Assert.AreEqual(a, c); }
public void NullCoordinateTest() { Coordinate a = new Coordinate(0,0); Assert.IsFalse(a.IsNull()); a = new NullCoordinate(); Assert.IsTrue(a.IsNull()); }