Exemplo n.º 1
0
        public void ParkingP4()
        {
            var    f        = new FileInfo("../../Testfile-P4.txt");
            string tempfile = Path.GetTempFileName();

            f.CopyTo(tempfile, true);

            var map = new FileInfo("maps/P-51,1576-13,6364.png");

            if (map.Exists)
            {
                map.Delete();
            }

            string p = f.FullName;

            string[] args = { "-jobfile", tempfile, "-debug" };
            OSMMapGenerator.Main(args);
        }
Exemplo n.º 2
0
        public void TripT1()
        {
            var    f        = new FileInfo("../../Testfile-T1.txt");
            string tempfile = Path.GetTempFileName();

            f.CopyTo(tempfile, true);

            var map = new FileInfo("maps/T2-400371-400398.png");

            if (map.Exists)
            {
                map.Delete();
            }

            string p = f.FullName;

            string[] args = { "-jobfile", tempfile, "-debug" };
            OSMMapGenerator.Main(args);

            map = new FileInfo("maps/T2-400371-400398.png");
            Assert.IsTrue(map.Exists);
        }