public void SetUp() { _maxNumberOfTripsCalculator = MockRepository.GenerateStrictMock<ICalculateMaxNumberOfTrips>(); _calcer = new Calculator(_maxNumberOfTripsCalculator); }
public void SetUp() { _maxTripsCalculator = MockRepository.GenerateStrictMock<ICalculateMaxNumberOfTrips>(); _possibleLegs = new Dictionary<string, int> { {"AB", 8}, {"BC", 9}, {"CE", 9}, {"AD", 13} }; _calcer = new Calculator(_maxTripsCalculator); }