Example #1
0
        public void difference()
        {
            var a = new Point3(1, 3, 5);
            var b = new Point3(2, 4, 6);

            var d = a.Difference(b);

            Assert.Equal(a.X - b.X, d.X);
            Assert.Equal(a.Y - b.Y, d.Y);
            Assert.Equal(a.Z - b.Z, d.Z);
        }
Example #2
0
        public void difference() {
            var a = new Point3(1, 3, 5);
            var b = new Point3(2, 4, 6);

            var d = a.Difference(b);

            Assert.Equal(a.X - b.X, d.X);
            Assert.Equal(a.Y - b.Y, d.Y);
            Assert.Equal(a.Z - b.Z, d.Z);
        }