@Test
public void testSparsePrint() throws IOException {

    Matrix a = createA(matrixFactory);
    String expected = String.join(System.lineSeparator(),
            "rowCount=3",
            "columnCount=2",
            "columnStart=[0, 2, 3]",
            "columnValueCount=[2, 1]",
            "rowIndices={0, 2, 1}",
            "values={1.0, 2.0, 3.0}")
            + System.lineSeparator();
    assertEquals(expected, print(a, null, null));
    assertEquals(expected, print(a));
}