public void SetUp() { const int carAvailabilityProbability = 1; passengerBehaviour = Substitute.For <IPassengerBehaviourProvider>(); transmissionType = ChoiceTransportAlgorithmType.Average; var defaultRandomizer = new DefaultRandomizer(); averagingAlgorithm = new AveragingAlgorithm(defaultRandomizer, carAvailabilityProbability); }
public DefaultRandomizerTests() { rng = new Random(1234); randomizer = new DefaultRandomizer(1234); }