Code development platform for open source projects from the European Union institutions

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

adapt testcase due to changed constant for gravity

parent abf0d1fc
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ namespace TUGraz.VectoCore.Tests.Integration.SimulationRuns
Assert.AreEqual(2208.664, engine.PreviousState.StationaryFullLoadTorque.Value(), Tolerance);
Assert.AreEqual(-158.0261, engine.PreviousState.FullDragTorque.Value(), Tolerance);
Assert.AreEqual(323.7562, engine.PreviousState.EngineTorque.Value(), Tolerance);
Assert.AreEqual(323.6485, engine.PreviousState.EngineTorque.Value(), Tolerance);
}
[TestMethod, TestCategory("LongRunning")]
......@@ -147,7 +147,7 @@ namespace TUGraz.VectoCore.Tests.Integration.SimulationRuns
response = cyclePort.Request(absTime, ds);
response.Switch().
Case<ResponseDrivingCycleDistanceExceeded>(r => ds = r.MaxDistance).
Case<ResponseCycleFinished>(r => {}).
Case<ResponseCycleFinished>(r => { }).
Case<ResponseSuccess>(r => {
vehicleContainer.CommitSimulationStep(absTime, r.SimulationInterval);
absTime += r.SimulationInterval;
......
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