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

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

combustion engine test for full-load jump

parent d553e922
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,25 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
dataWriter.Data.WriteToFile(@"test1.csv");
}
[TestMethod]
[DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", "|DataDirectory|\\TestData\\EngineLoadJumpTests.csv",
"EngineLoadJumpTests#csv", DataAccessMethod.Sequential)]
public void TestEngineFullLoadJump()
{
var vehicleContainer = new VehicleContainer();
var gearbox = new EngineOnlyGearbox(vehicleContainer);
var engineData = CombustionEngineData.ReadFromFile(CoachEngine);
var engine = new CombustionEngine(vehicleContainer, engineData);
gearbox.InShaft().Connect(engine.OutShaft());
var modalData = new TestModalDataWriter();
var idlePower = 5000.SI<Watt>();
var angularSpeed = 1000;
}
[TestMethod]
public void TestEngineMemento()
{
......
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