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

            Assert.AreEqual(3, vector.Maximum());

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

            Assert.AreEqual(3, vector.Maximum());
        }