public void RaikkonenMonza2016_WithOperatingTemperatureDelta(int lapNumber, decimal expectedLapTime) { var vettelmonza2016 = new TyreDegradationParameters(82.065m, 0.081m); //, 0.05m); var tyredegradationsimulation = TyreDegradationSimulationFactory.GetSimulation(vettelmonza2016); Assert.That(tyredegradationsimulation.LapTime(lapNumber), Is.EqualTo(expectedLapTime)); }
public void VettelMonza2016(int lapNumber, decimal expectedLapTime) { var vettelMonza2016 = new TyreDegradationParameters(81.972m, 0.081m); var tyreDegradationSimulation = TyreDegradationSimulationFactory.GetSimulation(vettelMonza2016); Assert.That(tyreDegradationSimulation.LapTime(lapNumber), Is.EqualTo(expectedLapTime)); }
public TyreDegradationSimulation(TyreDegradationParameters parameters) { _parameters = parameters; }