Exemplo n.º 1
0
        public void Simple()
        {
            var vector = new Vector2D(1, -4);

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

            Assert.AreEqual(1, vector.X);
            Assert.AreEqual(-4, vector.Y);
        }
Exemplo n.º 2
0
        public void AbsoluteMinimumExample()
        {
            var vector = new Vector2D(1, -4);

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