From 87759114a5385976291be60a13b3bba2c7a03189 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Mon, 24 Apr 2017 18:06:24 +0200
Subject: [PATCH] adapt testcases, remove now redundant testcases

---
 .../GearboxShiftLossesTest.cs                 | 39 +++++++------------
 1 file changed, 13 insertions(+), 26 deletions(-)

diff --git a/VectoCore/VectoCoreTest/Models/SimulationComponent/GearboxShiftLossesTest.cs b/VectoCore/VectoCoreTest/Models/SimulationComponent/GearboxShiftLossesTest.cs
index 27a8e5fbf4..336323a26a 100644
--- a/VectoCore/VectoCoreTest/Models/SimulationComponent/GearboxShiftLossesTest.cs
+++ b/VectoCore/VectoCoreTest/Models/SimulationComponent/GearboxShiftLossesTest.cs
@@ -61,39 +61,26 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
 		}
 
 		[Test,
-		TestCase(200, 2u, 1, 562, 620, 36.4855),
-		TestCase(400, 2u, 1, 562, 620, 55.9878),
-		TestCase(600, 2u, 1, 562, 620, 75.4901),
-		TestCase(800, 2u, 1, 562, 620, 94.9924),
-		TestCase(200, 2u, 1, 562, 600, 39.6371),
-		TestCase(400, 2u, 1, 562, 600, 59.4279),
-		TestCase(600, 2u, 1, 562, 600, 79.218),
-		TestCase(800, 2u, 1, 562, 600, 99.0095),
-		TestCase(400, 3u, 1, 500, 490, 9.6354),
-		TestCase(400, 3u, 1, 550, 490, 17.325),
-		TestCase(600, 3u, 1, 550, 490, 33.5574),
-		TestCase(200, 2u, 0.7, 562, 620, 31.3906),
-		TestCase(400, 2u, 0.7, 562, 620, 50.8929),
-		TestCase(600, 2u, 0.7, 562, 620, 70.3952),
-		TestCase(800, 2u, 0.7, 562, 620, 89.8975),
-		TestCase(200, 2u, 0.7, 562, 600, 33.6832),
-		TestCase(400, 2u, 0.7, 562, 600, 53.4741),
-		TestCase(600, 2u, 0.7, 562, 600, 73.2648),
-		TestCase(800, 2u, 0.7, 562, 600, 93.0557),
-		TestCase(400, 3u, 0.7, 500, 490, 15.9818),
-		TestCase(400, 3u, 0.7, 550, 490, 21.8670),
-		TestCase(600, 3u, 0.7, 550, 490, 38.0991),
+		TestCase(200, 2u, 562, 620, 19.5023),
+		TestCase(400, 2u, 562, 620, 39.0046),
+		TestCase(600, 2u, 562, 620, 58.5069),
+		TestCase(800, 2u, 562, 620, 78.0092),
+		TestCase(200, 2u, 562, 600, 19.7908),
+		TestCase(400, 2u, 562, 600, 39.5816),
+		TestCase(600, 2u, 562, 600, 59.3723),
+		TestCase(800, 2u, 562, 600, 79.1632),
+		TestCase(400, 3u, 500, 490, 30.7900),
+		TestCase(400, 3u, 550, 490, 32.4643),
+		TestCase(600, 3u, 550, 490, 48.6965),
 		]
-		public void TestShiftLossComputation(double torqueDemand, uint gear, double inertiaFactor, double preShiftRpm,
-			double postShiftRpm,
-			double expectedShiftLoss)
+		public void TestShiftLossComputation(double torqueDemand, uint gear, double preShiftRpm,
+			double postShiftRpm, double expectedShiftLoss)
 		{
 			var engineInertia = 5.SI<KilogramSquareMeter>();
 
 			var gearboxData = ATPowerTrain.CreateGearboxData(GearboxType.ATSerial);
 
 			var container = new VehicleContainer(ExecutionMode.Engineering);
-			gearboxData.PowershiftInertiaFactor = inertiaFactor;
 			gearboxData.PowershiftShiftTime = 0.8.SI<Second>();
 
 			var cycleDataStr = "0, 0, 0, 2\n100, 20, 0, 0\n1000, 50, 0, 0";
-- 
GitLab