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

            Assert.AreEqual(6, vector.Product());

            Assert.AreEqual(2, vector.X);
            Assert.AreEqual(3, vector.Y);
        }
Exemplo n.º 2
0
        public void ProductExample()
        {
            var vector = new Vector2D(2, 3);

            Assert.AreEqual(6, vector.Product());
        }