@Test
	public void test_mult_matrix_identity() {
		int dim = 3;

		Matrix a = new MatrixList(dim, dim);
		Matrix identity_matrix = new MatrixList(dim, dim);

		for (int i = 1; i <= dim; i++) {
			for (int j = 1; j <= dim; j++)
				a.insert(i, j, (double) (2 * i - j));
		}

		for (int i = 1; i <= dim; i++) {
			for (int j = 1; j <= dim; j++)
				identity_matrix.insert(i, j, (double) ((i == j) ? 1.0 : 0.0));
		}

		assertEquals(a.mul(identity_matrix), a);
		assertEquals(identity_matrix.mul(a), a);
	}