Exemple #1
0
        public void Simple()
        {
            var vector = new Vector2D(1, -4);

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

            Assert.AreEqual(1, vector.X);
            Assert.AreEqual(-4, vector.Y);
        }
        public void MaximumExample()
        {
            var vector = new Vector2D(1, -4);

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