public void ToMatrixF() { Matrix44F m44 = new Matrix44F(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16); MatrixF m = m44.ToMatrixF(); for (int i = 0; i < 4; i++) for (int j = 0; j < 4; j++) Assert.AreEqual(i * 4 + j + 1, m[i, j]); m = m44; for (int i = 0; i < 4; i++) for (int j = 0; j < 4; j++) Assert.AreEqual(i * 4 + j + 1, m[i, j]); }