From 78c108ce9a31d9c01491b1c87d0c7848de7c124d Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Thu, 13 Dec 2018 14:03:13 +0100 Subject: [PATCH] correct testcases for segment lookups: compare with body weight of municipal body, update max load --- .../Models/Declaration/DeclarationDataTest.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs b/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs index d85dce5781..99a9e1a529 100644 --- a/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs +++ b/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs @@ -1086,14 +1086,14 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration axleWeightDistribution: new[] { 0.45, 0.55 }, trailerAxleWeightDistribution: new double[] { }, trailerAxleCount: new int[] { }, - bodyCurbWeight: 2100, + bodyCurbWeight: 6000, trailerCurbWeight: new double[] { }, trailerType: new TrailerType[] { }, lowLoad: 600, refLoad: 3000, trailerGrossVehicleWeight: new double[] { }, deltaCdA: 0, - maxLoad: 8400); + maxLoad: 4500); } /// <summary> @@ -1126,14 +1126,14 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration axleWeightDistribution: new[] { 0.45, 0.55 }, trailerAxleWeightDistribution: new double[] { }, trailerAxleCount: new int[] { }, - bodyCurbWeight: 2100, + bodyCurbWeight: 6000, trailerCurbWeight: new double[] { }, trailerType: new TrailerType[] { }, lowLoad: 600, refLoad: 3000, trailerGrossVehicleWeight: new double[] { }, deltaCdA: 0, - maxLoad: 8400); + maxLoad: 4500); AssertMission(segment.Missions[1], vehicleData: vehicleData, @@ -1376,14 +1376,14 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration axleWeightDistribution: new[] { 0.35, 0.4, 0.25 }, trailerAxleWeightDistribution: new double[] { }, trailerAxleCount: new int[] { }, - bodyCurbWeight: 2200, + bodyCurbWeight: 6750, trailerCurbWeight: new double[] { }, trailerType: new TrailerType[] { }, lowLoad: 1200, refLoad: 6000, trailerGrossVehicleWeight: new double[] { }, deltaCdA: 0, - maxLoad: 14300); + maxLoad: 9750); } /// <summary> @@ -1416,14 +1416,14 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration axleWeightDistribution: new[] { 0.35, 0.4, 0.25 }, trailerAxleWeightDistribution: new double[] { }, trailerAxleCount: new int[] { }, - bodyCurbWeight: 2200, + bodyCurbWeight: 6750, trailerCurbWeight: new double[] { }, trailerType: new TrailerType[] { }, lowLoad: 1200, refLoad: 6000, trailerGrossVehicleWeight: new double[] { }, deltaCdA: 0, - maxLoad: 14300); + maxLoad: 9750); AssertMission(segment.Missions[1], vehicleData: vehicleData, @@ -1669,14 +1669,14 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration axleWeightDistribution: new[] { 0.35, 0.35, 0.3 }, trailerAxleWeightDistribution: new double[] { }, trailerAxleCount: new int[] { }, - bodyCurbWeight: 2200, + bodyCurbWeight: 6750, trailerCurbWeight: new double[] { }, trailerType: new TrailerType[] { }, lowLoad: 1200, refLoad: 6000, trailerGrossVehicleWeight: new double[] { }, deltaCdA: 0, - maxLoad: 14300); + maxLoad: 9750); AssertMission(segment.Missions[5], vehicleData: vehicleData, -- GitLab