From 47d54c6f8d378f7635b6072c4b2014f5f1ad6299 Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Mon, 15 Feb 2016 10:46:18 +0100 Subject: [PATCH] corrected testcase: expected gear --- .../Models/SimulationComponent/GearboxPowertrainTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VectoCoreTest/Models/SimulationComponent/GearboxPowertrainTest.cs b/VectoCoreTest/Models/SimulationComponent/GearboxPowertrainTest.cs index 9717ea762a..94bb3fcf3a 100644 --- a/VectoCoreTest/Models/SimulationComponent/GearboxPowertrainTest.cs +++ b/VectoCoreTest/Models/SimulationComponent/GearboxPowertrainTest.cs @@ -38,7 +38,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent var container = Truck40tPowerTrain.CreatePowerTrain(cycle, "Gearbox_Initialize", 7500.0.SI<Kilogram>(), 0.SI<Kilogram>()); var retVal = container.Cycle.Initialize(); - Assert.AreEqual(4u, container.Gear); + Assert.AreEqual(5u, container.Gear); Assert.IsInstanceOfType(retVal, typeof(ResponseSuccess)); AssertHelper.AreRelativeEqual(560.RPMtoRad(), container.EngineSpeed); -- GitLab