コード例 #1
0
        public void SearchVehiclesTest()
        {
            var route4Me = new Route4MeManagerV5(c_ApiKey);

            var searchParams = new VehicleSearchParameters()
            {
                VehicleIDs = new string[] { lsVehicles[0].VehicleId },
                Latitude   = 29.748868,
                Longitude  = -95.358473
            };

            var result = route4Me.SearchVehicles(searchParams, out ResultResponse resultResponse);

            Assert.NotNull(result);
            Assert.IsType <Vehicle[]>(result);
        }