public void testSum() throws Throwable
{
double doubleData[][] = { {1,2}, {3,4} };
Matrix matrix = new Matrix(doubleData);
TestCase.assertEquals((int)matrix.sum(), 1+2+3+4);
}
public void testRowMatrix() throws Throwable
{
double matrixData[] = {1.0,2.0,3.0,4.0};