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

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

adapt testcase for payload municipal cycle

parent b7cabac2
No related branches found
No related tags found
No related merge requests found
......@@ -29,13 +29,16 @@ namespace TUGraz.VectoCore.Tests.Integration.Declaration
var factory = new SimulatorFactory(ExecutionMode.Declaration, inputData, writer) {
WriteModalResults = true,
//ActualModalData = true,
Validate = true
Validate = false
};
var jobContainer = new JobContainer(new MockSumWriter());
// adding vecto runs to job container must not throw an exception!
jobContainer.AddRuns(factory);
var muRefLoadData = jobContainer.Runs.Last().Run.GetContainer().RunData;
Assert.AreEqual(2700, muRefLoadData.VehicleData.Loading.Value());
Assert.AreEqual(6000, muRefLoadData.VehicleData.BodyAndTrailerWeight.Value());
Assert.AreEqual(18000, muRefLoadData.VehicleData.TotalVehicleWeight.Value());
}
}
......
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