public void MatrixScalarMultiplication() { var expected = new ComplexMatrix(new Complex[][] { new Complex[] { new Complex(9, 19), new Complex(-2, -10), new Complex(-9, 7), new Complex(5, 12) }, new Complex[] { new Complex(11, 29), new Complex(-16, -2), new Complex(12, 21), new Complex(24, 3) }, new Complex[] { new Complex(-19, 9), new Complex(31, 12), new Complex(3, 2), new Complex(6, -9) } }); var result = m2.ScalarProduct(c9); Assert.AreEqual(expected, result); }