コード例 #1
0
        public void NegateTuple()
        {
            var v1       = new Tuple <double, double, double, double>(1, -2, 3, -4);
            var expected = new Tuple <double, double, double, double>(-1, 2, -3, 4);
            var neg      = PointType.NegateTuple(v1);

            Assert.Equal(expected, neg);
        }