예제 #1
0
        public void NumberOfTripsFromCtoC_DistanceLessThat30()
        {
            var trips = _routeTable.NumberOfRoutesBetweenWithMaxDistance("C", "C", 30);

            Assert.AreEqual(trips, 7);
        }
예제 #2
0
 public int NumberOfRoutesBetweenWithMaxDistance(string startAcademy, string endAcademy, int maxDistance)
 {
     return(_routeTable.NumberOfRoutesBetweenWithMaxDistance(startAcademy, endAcademy, maxDistance));
 }