示例#1
0
        public void AddingTwoTuples()
        {
            var a1       = new Tuple <double, double, double, double>(3, -2, 5, 1);
            var a2       = new Tuple <double, double, double, double>(-2, 3, 1, 0);
            var expected = new Tuple <double, double, double, double>(1, 1, 6, 1);

            Assert.Equal(expected, PointType.AddTuple(a1, a2));
        }