public void ToMatrixF() { float x = 23.4f; float y = -11.0f; float z = 0.0f; float w = 0.3f; VectorF v = new VectorF(new[] { x, y, z, w }); MatrixF matrix = v.ToMatrixF(); Assert.AreEqual(4, matrix.NumberOfRows); Assert.AreEqual(1, matrix.NumberOfColumns); Assert.AreEqual(x, matrix[0, 0]); Assert.AreEqual(y, matrix[1, 0]); Assert.AreEqual(z, matrix[2, 0]); Assert.AreEqual(w, matrix[3, 0]); }