@Test
public void testFMatrixSparseCSC() throws Exception {

    FMatrixSparseCSC expected = new FMatrixSparseCSC(18, 21, 10);
    expected.set(3, 8, rnd.nextFloat());
    expected.set(12, 18, rnd.nextFloat());
    expected.set(7, 9, rnd.nextFloat());
    expected.set(3, 6, rnd.nextFloat());
    expected.sortIndices(null);
    // Read CSC
    EjmlUnitTests.assertEquals(expected, saveAndLoad(expected, expected.createLike()), TEST_F32);
    // Read Triplet
    FMatrixSparseTriplet triplet = saveAndLoad(expected, new FMatrixSparseTriplet());
    FMatrixSparseCSC actual = ConvertFMatrixStruct.convert(triplet, expected.createLike());
    EjmlUnitTests.assertEquals(expected, actual, TEST_F32);
    // Read Dense
    EjmlUnitTests.assertEquals(expected, saveAndLoad(expected, new FMatrixRMaj(0)), TEST_F32);
}