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

Skip to content
Snippets Groups Projects
Commit 61a34593 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

corrected component count in test

parent 2e523519
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ namespace TUGraz.VectoCore.Tests.Models.Simulation ...@@ -60,7 +60,7 @@ namespace TUGraz.VectoCore.Tests.Models.Simulation
var run = factory.SimulationRuns().First(); var run = factory.SimulationRuns().First();
var vehicleContainer = (VehicleContainer)run.GetContainer(); var vehicleContainer = (VehicleContainer)run.GetContainer();
Assert.AreEqual(12, vehicleContainer.SimulationComponents().Count); Assert.AreEqual(11, vehicleContainer.SimulationComponents().Count);
Assert.IsInstanceOfType(vehicleContainer.Gearbox, typeof(Gearbox), "gearbox not installed"); Assert.IsInstanceOfType(vehicleContainer.Gearbox, typeof(Gearbox), "gearbox not installed");
Assert.IsInstanceOfType(vehicleContainer.Engine, typeof(CombustionEngine), "engine not installed"); Assert.IsInstanceOfType(vehicleContainer.Engine, typeof(CombustionEngine), "engine not installed");
......
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