diff --git a/VectoCore/VectoCoreTest/Models/SimulationComponent/ATGearboxTest.cs b/VectoCore/VectoCoreTest/Models/SimulationComponent/ATGearboxTest.cs index e93ba3f408e2efe9e6cf389e774a75f083da17af..3afafc96fee362175485cf6ee626fb09dc3fa590 100644 --- a/VectoCore/VectoCoreTest/Models/SimulationComponent/ATGearboxTest.cs +++ b/VectoCore/VectoCoreTest/Models/SimulationComponent/ATGearboxTest.cs @@ -81,7 +81,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent var vehicleContainer = new MockVehicleContainer(); //(ExecutionMode.Engineering); var engineData = MockSimulationDataFactory.CreateEngineDataFromFile(EngineDataFile, gearboxData.Gears.Count); vehicleContainer.Engine = new CombustionEngine(vehicleContainer, engineData); - var runData = new VectoRunData() { GearboxData = gearboxData }; + var runData = new VectoRunData() { GearboxData = gearboxData, EngineData = new CombustionEngineData() {Inertia = 0.SI<KilogramSquareMeter>()} }; var gearbox = new ATGearbox(vehicleContainer, new ATShiftStrategy(gearboxData, vehicleContainer), runData); vehicleContainer.VehicleSpeed = vehicleSpeed.KMPHtoMeterPerSecond();