public static void main(String[] args) {
        String relDir = args.length == 1 ? args[0] : "";
        GraphHopper hopper = createGraphHopperInstance(relDir + "core/files/andorra.osm.pbf");
        routing(hopper);
        speedModeVersusFlexibleMode(hopper);
        alternativeRoute(hopper);
        customizableRouting(relDir + "core/files/andorra.osm.pbf");

        // release resources to properly shutdown or start a new instance
        hopper.close();
    }
@Test
    public void main() {
        Helper.removeDir(new File("target/routing-graph-cache"));
        RoutingExample.main(new String[]{"../"});

        Helper.removeDir(new File("target/routing-tc-graph-cache"));
        RoutingExampleTC.main(new String[]{"../"});
    }