Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 9a7a4dae authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

adapt expected values in testcases. all but 2 testcases green.

parent 43c04eef
No related branches found
No related tags found
No related merge requests found
......@@ -1049,8 +1049,8 @@ namespace TUGraz.VectoCore.Tests.Integration.CompletedBus
Assert.IsTrue(jobContainer.Runs.All(r => r.Success), String.Concat<Exception>(jobContainer.Runs.Select(r => r.ExecException)));
}
[TestCase(@"TestData\Integration\Buses\vecto_vehicle-primary_heavyBus_ESS_electricFanSTP.xml", 13, TestName = "RunBusSimulation electric STP/Fan ESS IU/RL"),
TestCase(@"TestData\Integration\Buses\vecto_vehicle-primary_heavyBus_ESS_electricFanSTP.xml", 17, TestName = "RunBusSimulation electric STP/Fan ESS CO/RL"),
[TestCase(@"TestData\Integration\Buses\FactorMethod\vecto_vehicle-primary_heavyBus_ESS_electricFanSTP.xml", 13, TestName = "RunBusSimulation electric STP/Fan ESS IU/RL"),
TestCase(@"TestData\Integration\Buses\FactorMethod\vecto_vehicle-primary_heavyBus_ESS_electricFanSTP.xml", 17, TestName = "RunBusSimulation electric STP/Fan ESS CO/RL"),
TestCase(@"E:\QUAM\tmp\ESS_Tests\primary_heavyBus group 42_ConvAux_ESS_SmartPS.xml", 10, TestName = "RunBusSimulation ESS P33DD SU/LL ConvAux SmartPS"),
TestCase(@"E:\QUAM\tmp\ESS_Tests\primary_heavyBus group 42_ESS_SmartPS.xml", 10, TestName = "RunBusSimulation ESS P33DD SU/LL ES Aux SmartPS"),
......
......@@ -55,7 +55,8 @@ namespace TUGraz.VectoCore.Tests.XML
Assert.IsTrue(vehicle.VehicleCode == VehicleCode.CD);
Assert.AreEqual(8300, vehicle.CurbMassChassis.Value());
Assert.AreEqual(15400, vehicle.GrossVehicleMassRating.Value());//TechnicalPermissibleMaximumLadenMass ?!?
Assert.That(() => vehicle.TankSystem, Throws.InstanceOf<VectoException>());
//Assert.That(() => vehicle.TankSystem, Throws.InstanceOf<VectoException>());
Assert.IsNull(vehicle.TankSystem);
Assert.AreEqual(50, vehicle.NumberOfPassengersLowerDeck);
Assert.AreEqual(0, vehicle.NumberOfPassengersUpperDeck);
Assert.AreEqual(FloorType.LowFloor, vehicle.FloorType);
......
......@@ -60,7 +60,7 @@ namespace TUGraz.VectoCore.Tests.XML
Assert.IsTrue(AxleConfiguration.AxleConfig_4x2 == vehicle.AxleConfiguration);
Assert.AreEqual(false, vehicle.Articulated);
Assert.AreEqual(25000, vehicle.GrossVehicleMassRating.Value());
Assert.AreEqual(600, vehicle.EngineIdleSpeed.Value());
Assert.AreEqual(600, vehicle.EngineIdleSpeed.AsRPM);
Assert.AreEqual("Transmission Output Retarder", vehicle.Components.RetarderInputData.Type.ToXMLFormat());
Assert.AreEqual(1.000, vehicle.Components.RetarderInputData.Ratio);
Assert.AreEqual("None", vehicle.Components.AngledriveInputData.Type.ToXMLFormat());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment