diff --git a/VectoCore/VectoCoreTest/Models/Simulation/PwheelModeTests.cs b/VectoCore/VectoCoreTest/Models/Simulation/PwheelModeTests.cs index ed6eb4401fd610eaee4935c1c8e624fc1d0cc856..c91e15046989e5d1a68f1f81c64796ad39bae6c5 100644 --- a/VectoCore/VectoCoreTest/Models/Simulation/PwheelModeTests.cs +++ b/VectoCore/VectoCoreTest/Models/Simulation/PwheelModeTests.cs @@ -68,8 +68,12 @@ namespace TUGraz.VectoCore.Tests.Models.Simulation var cycleFile = new MemoryStream(Encoding.UTF8.GetBytes(inputData)); var drivingCycle = DrivingCycleDataReader.ReadFromStream(cycleFile, CycleType.PWheel, "", false); - - var gearbox = new CycleGearbox(container, new VectoRunData()); + + var gearbox = new CycleGearbox(container, new VectoRunData() { + GearboxData = new GearboxData { + Gears = new Dictionary<uint, GearData> { { 1, new GearData { Ratio = 2.0 } }, { 2, new GearData { Ratio = 3.5 } } } + } + }); var cycle = new PWheelCycle(container, drivingCycle, 2.3, null, gearbox.ModelData.Gears.ToDictionary(g => g.Key, g => g.Value.Ratio));