Beispiel #1
0
        public void DivideTupleByScalar()
        {
            var v1       = new Tuple <double, double, double, double>(1, -2, 3, -4);
            var expected = new Tuple <double, double, double, double>(0.5, -1, 1.5, -2);
            var neg      = PointType.DivideTuple(v1, 2);

            Assert.Equal(expected, neg);
        }