@Test
public void testGetNNFilePaths_ignoringUpperCase() throws Exception {

    final String[] alternativeNetDirNamesWithUpperCase = new String[]{
            "rtosa_aaNN",
            "rtosa_rw",
            "rw_iop",
            "iop_rw",
            "rw_kd",
            "iop_unCIop",
            "iop_uncsumiop_unckd",
            "rw_rwNORM",
            "rtosa_trans",
            "rtosa_rpath"
    };
    for (int i = 0; i < 10; i++) {
        final Path nnDir = testDir.resolve(alternativeNetDirNamesWithUpperCase[i]);
        Files.createDirectories(nnDir);
        final Path nnfile = nnDir.resolve("nnFile_" + i + ".net");
        Files.createFile(nnfile);
    }
    final String[] nnFilePaths = NNUtils.getNNFilePaths(testDir, NNUtils.ALTERNATIVE_NET_DIR_NAMES);
    assertNotNull(nnFilePaths);
    assertEquals(10, nnFilePaths.length);
    for (int i = 0; i < NNUtils.ALTERNATIVE_NET_DIR_NAMES.length; i++) {
        String nameWithUpperCase = alternativeNetDirNamesWithUpperCase[i];
        assertTrue(nnFilePaths[i].contains(sep + nameWithUpperCase + sep));
    }
}