From e1c52dc004cb180e6374fae1b6e2cb9b7abf9cbf Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Fri, 10 May 2019 12:51:27 +0200 Subject: [PATCH] fix testcase : duplicate entries in FLD are not allowed --- .../Models/SimulationComponentData/ValidationTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VectoCore/VectoCoreTest/Models/SimulationComponentData/ValidationTest.cs b/VectoCore/VectoCoreTest/Models/SimulationComponentData/ValidationTest.cs index dbb18171b2..6e63b354eb 100644 --- a/VectoCore/VectoCoreTest/Models/SimulationComponentData/ValidationTest.cs +++ b/VectoCore/VectoCoreTest/Models/SimulationComponentData/ValidationTest.cs @@ -79,7 +79,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponentData fullLoad.Columns.Add("drag torque"); fullLoad.Columns.Add("PT1"); fullLoad.Rows.Add("3", "3", "-3", "3"); - fullLoad.Rows.Add("3", "3", "-3", "3"); + fullLoad.Rows.Add("4", "3", "-3", "3"); var data = new CombustionEngineData { ModelName = "asdf", @@ -116,7 +116,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponentData fullLoad.Columns.Add("drag torque"); fullLoad.Columns.Add("PT1"); fullLoad.Rows.Add("3", "3", "-3", "3"); - fullLoad.Rows.Add("3", "3", "-3", "3"); + fullLoad.Rows.Add("4", "3", "-3", "3"); var data = new MockEngineDataProvider { Model = "asdf", Displacement = 6374.SI(Unit.SI.Cubic.Centi.Meter).Cast<CubicMeter>(), @@ -151,7 +151,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponentData fullLoad.Columns.Add("drag torque"); fullLoad.Columns.Add("PT1"); fullLoad.Rows.Add("3", "3", "-3", "3"); - fullLoad.Rows.Add("3", "3", "-3", "3"); + fullLoad.Rows.Add("4", "3", "-3", "3"); var data = new MockEngineDataProvider { Model = "asdf", Displacement = 6374.SI(Unit.SI.Cubic.Centi.Meter).Cast<CubicMeter>(), -- GitLab