private static void DoSomeManualDrivingInTheMiddle(CabinService cabinService)
 {
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.15));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.45));
     TimeHelper.WaitSeconds(5);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.65));
     TimeHelper.WaitSeconds(10);
     cabinService.EnterManualMode();
     cabinService.DownshiftManually();
     cabinService.DownshiftManually();
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.95));
     TimeHelper.WaitSeconds(5);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     cabinService.UpshiftManually();
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ExitManualMode();
     TimeHelper.WaitSeconds(10);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyBrakePedalPressure(new PedalPressure(0.5));
     TimeHelper.WaitSeconds(13);
 }
 private static void DoAggressivePedalChangesToCauseKickdown(CabinService cabinService)
 {
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.15));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(10);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.75));
     TimeHelper.WaitSeconds(5);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyBrakePedalPressure(new PedalPressure(0.5));
     TimeHelper.WaitSeconds(5);
 }
 private static void DoCommonPedalOperations(CabinService cabinService)
 {
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.15));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.75));
     TimeHelper.WaitSeconds(5);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyBrakePedalPressure(new PedalPressure(0.5));
     TimeHelper.WaitSeconds(15);
 }
 private static void DoCommonPedalOperationsWithLightsChangesInTheMiddle(CabinService cabinService)
 {
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.15));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     _externalSystems.getLights().setLightsPosition(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.75));
     TimeHelper.WaitSeconds(5);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     _externalSystems.getLights().setLightsPosition(5);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyBrakePedalPressure(new PedalPressure(0.5));
     TimeHelper.WaitSeconds(5);
 }
 private static void DoCommonPedalOperationsWithAngularSpeedPeakInTheMiddle(CabinService cabinService)
 {
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.15));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     _externalSystems.setAngularSpeed(500);
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.75));
     TimeHelper.WaitSeconds(5);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.55));
     TimeHelper.WaitSeconds(3);
     _externalSystems.setAngularSpeed(100);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0.35));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyGasPedalPressure(new PedalPressure(0));
     TimeHelper.WaitSeconds(3);
     cabinService.ApplyBrakePedalPressure(new PedalPressure(0.5));
     TimeHelper.WaitSeconds(5);
 }