Пример #1
0
        public void Simple()
        {
            var vector = new Vector2D(2, 3);

            Assert.AreEqual(5, vector.Sum());

            Assert.AreEqual(2, vector.X);
            Assert.AreEqual(3, vector.Y);
        }
Пример #2
0
        public void SumExample()
        {
            var vector = new Vector2D(2, 3);

            Assert.AreEqual(5, vector.Sum());
        }