public void ToArrayTest()
{
Complex[] c = { new Complex(1, 5), new Complex(2, -1), new Complex(-5, 1) };
double[,] expected =
{
{ 1, 5 },
{ 2, -1 },
{ -5, 1 },
};
double[,] actual = ComplexMatrix.ToArray(c);
Assert.IsTrue(expected.IsEqual(actual));
}