Package slash.navigation.babel

Examples of slash.navigation.babel.OziExplorerTrackFormat


    @Test
    public void testConvertOziExplorerTrackToTop50() throws IOException {
        // differences in conversion: Target longitude 0 does not exist
        assertTestFails(new NavigationTestCaseThrowsException() {
            public void run() throws Exception {
                convertRoundtrip(TEST_PATH + "from-ozi.plt", new OziExplorerTrackFormat(), new OvlFormat());
            }
        });
    }
View Full Code Here


        // differences in conversion: 2.6141469644200224 is not within +5.0E-6 of -17.954639 to -17.954728773195
        assertTestFails(new NavigationTestCaseThrowsException() {
            public void run() throws Exception {
                convertRoundtrip(TEST_PATH + "from-ozi.rte", new OziExplorerRouteFormat(), new MagicMapsIktFormat());
                convertRoundtrip(TEST_PATH + "from-ozi.rte", new OziExplorerRouteFormat(), new MagicMapsPthFormat());
                convertRoundtrip(TEST_PATH + "from-ozi.plt", new OziExplorerTrackFormat(), new MagicMapsIktFormat());
                convertRoundtrip(TEST_PATH + "from-ozi.plt", new OziExplorerTrackFormat(), new MagicMapsPthFormat());
                convertRoundtrip(TEST_PATH + "from-ozi.wpt", new OziExplorerWaypointFormat(), new MagicMapsIktFormat());
                convertRoundtrip(TEST_PATH + "from-ozi.wpt", new OziExplorerWaypointFormat(), new MagicMapsPthFormat());
            }
        });
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-ozi.rte", new OziExplorerRouteFormat(), new OziExplorerRouteFormat());
    }

    @Test
    public void testConvertOziExplorerTrackToOziExplorerTrack() throws IOException {
        convertRoundtrip(TEST_PATH + "from-ozi.plt", new OziExplorerTrackFormat(), new OziExplorerTrackFormat());
    }
View Full Code Here

        convertRoundtrip(TEST_PATH + "from-ozi.wpt", new OziExplorerWaypointFormat(), new NavigatingPoiWarnerFormat());
    }

    @Test
    public void testConvertGpx10ToOziExplorerTrack() throws IOException {
        convertRoundtrip(TEST_PATH + "from10.gpx", new Gpx10Format(), new OziExplorerTrackFormat());
    }
View Full Code Here

TOP

Related Classes of slash.navigation.babel.OziExplorerTrackFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.