public void ToMatrixTest() { double[] array = { 1, 5, 2 }; double[,] expected = { { 1, 5, 2 } }; double[,] actual = Matrix.ToMatrix(array); Assert.IsTrue(expected.IsEqual(actual)); }