public void NoSectionsTest()
        {
            var route = new Database.Model.Route
            {
                Waypoints = new List <RoutePoint> {
                    new WayPoint(0, 0)
                },
                Sections = null
            };

            var section = route.GetSectionForPosition(new WayPoint(0, 0));

            Assert.Equal("Default", section.Name);
        }
Exemple #2
0
 public NavigatorMockSpy(INavigationMap mapView, Database.Model.Route route, IGeolocator geoLocator,
                         NavigationStats navigationStats) : base(mapView, route, geoLocator, navigationStats)
 {
 }