Example #1
0
        public void GetRow()
        {
            Matrix2x2f m = Indexed2x2();

            Assert.AreEqual(new Vector2f(0, 2), m.GetRow(0));
            Assert.AreEqual(new Vector2f(1, 3), m.GetRow(1));
        }
Example #2
0
        public void SetRowt()
        {
            Matrix2x2f m = new Matrix2x2f();

            m.SetRow(0, new Vector2f(0, 2));
            m.SetRow(1, new Vector2f(1, 3));

            Assert.AreEqual(new Vector2f(0, 2), m.GetRow(0));
            Assert.AreEqual(new Vector2f(1, 3), m.GetRow(1));
        }