Example #1
0
        public void Simple()
        {
            var vector = new Vector3D {
                X = 1, Y = (-4), Z = 3
            };

            Assert.AreEqual(1, vector.AbsoluteMinimum());
            Assert.AreEqual(1, vector.X);
            Assert.AreEqual(-4, vector.Y);
            Assert.AreEqual(3, vector.Z);
        }
Example #2
0
        public void AbsoluteMinimumExample()
        {
            var vector = new Vector3D(1, -4, 3);

            Assert.AreEqual(1, vector.AbsoluteMinimum());
        }