public void DivideNormal() { Coordinate coordinate1 = new GeodeticCoordinate(2.0, 2.0); Coordinate coordinate2 = new GeodeticCoordinate(1.0, 1.0); Coordinate result = new GeodeticCoordinate(2.0, 2.0); Coordinate div = coordinate1.Divide(coordinate2); Assert.True(div == result); }
public void DivideNullCoordinate2() { Coordinate coordinate1 = new GeodeticCoordinate(2.0, 2.0); Assert.Throws <ArgumentNullException>(() => coordinate1.Divide(null)); }