Beispiel #1
0
        public void MultiplyNormal()
        {
            Coordinate coordinate1 = new GeodeticCoordinate(1.0, 1.0);
            Coordinate coordinate2 = new GeodeticCoordinate(2.0, 2.0);
            Coordinate result      = new GeodeticCoordinate(2.0, 2.0);

            Coordinate mul = coordinate1.Multiply(coordinate2);

            Assert.True(mul == result);
        }
        public void MultiplyNullCoordinate2()
        {
            Coordinate coordinate1 = new GeodeticCoordinate(1.0, 1.0);

            Assert.Throws <ArgumentNullException>(() => coordinate1.Multiply(null));
        }