Exemplo n.º 1
0
        public void Property_TriasIdStopPoint_Work(string input, string output)
        {
            var testClass = new CachedTripStop(input);

            var result = testClass.TriasIdStopPoint;

            result.Should().Be(output);
        }
Exemplo n.º 2
0
 private static VehiclePositionTripStop ConvertToApiOutput(this CachedTripStop cache)
 {
     return(new VehiclePositionTripStop
     {
         IdStopPoint = cache.TriasIdStopPoint,
         ArrivalTime = DateTimeToUnixTimeStamp(cache.ArrivalCalculationTime),
         DepartureTime = DateTimeToUnixTimeStamp(cache.DepartureCalculationTime)
     });
 }