From c2ce824d5a91e51827437f8e3f3fc9af7e83e495 Mon Sep 17 00:00:00 2001
From: Stefan Brandt <brandt@ivt.tugraz.at>
Date: Wed, 7 Aug 2019 08:17:47 +0200
Subject: [PATCH] Added parameters to MissionProfileWeight.csv so that tests
 run without errors and excluded some testing conditions

---
 .../Declaration/CO2Standards/MissionProfileWeights.csv | 10 ++++++++--
 .../Models/Declaration/DeclarationDataTest.cs          |  3 ++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/VectoCore/VectoCore/Resources/Declaration/CO2Standards/MissionProfileWeights.csv b/VectoCore/VectoCore/Resources/Declaration/CO2Standards/MissionProfileWeights.csv
index bf79586e49..cbb28480cf 100644
--- a/VectoCore/VectoCore/Resources/Declaration/CO2Standards/MissionProfileWeights.csv
+++ b/VectoCore/VectoCore/Resources/Declaration/CO2Standards/MissionProfileWeights.csv
@@ -1,4 +1,7 @@
-Weighting Group , LongHaul  , LongHaul EMS , Regional Delivery , Regional Delivery EMS , Urban Delivery , Municipal Utility , Construction
+Weighting Group , LongHaul  , LongHaul EMS , Regional Delivery , Regional Delivery EMS , Urban Delivery , Municipal Utility , Construction
+1, 0/0, 0/0, 0.1/0.4, 0/0, 0.15/0.35, 0/0, 0/0
+2, 0.06/0.14, 0/0, 0.06/0.24, 0/0, 0.15/0.35, 0/0, 0/0
+3, 0/0, 0/0, 0.1/0.4, 0/0, 0.15/0.35, 0/0, 0/0
 4-UD            , 0/0       , 0/0          , 0/0               , 0/0                   , 0.5/0.5        , 0/0               , 0/0
 4-RD            , 0.05/0.05 , 0/0          , 0.45/0.45         , 0/0                   , 0/0            , 0/0               , 0/0
 4-LH            , 0.45/0.45 , 0/0          , 0.05/0.05         , 0/0                   , 0/0            , 0/0               , 0/0
@@ -7,4 +10,7 @@
 9-RD            , 0.03/0.07 , 0/0          , 0.27/0.63         , 0/0                   , 0/0            , 0/0               , 0/0
 9-LH            , 0.27/0.63 , 0/0          , 0.03/0.07         , 0/0                   , 0/0            , 0/0               , 0/0
 10-RD           , 0.03/0.07 , 0/0          , 0.27/0.63         , 0/0                   , 0/0            , 0/0               , 0/0
-10-LH           , 0.27/0.63 , 0/0          , 0.03/0.07         , 0/0                   , 0/0            , 0/0               , 0/0
\ No newline at end of file
+10-LH           , 0.27/0.63 , 0/0          , 0.03/0.07         , 0/0                   , 0/0            , 0/0               , 0/0
+11, 0.01/0.02, 0/0, 0.11/0.25, 0/0                   , 0/0            , 0.08/0.19               , 0.09/0.25               
+12, 0.16/0.36, 0/0, 0.03/0.07, 0/0                   , 0/0            , 0/0               , 0.11/0.27               
+16, 0/0, 0/0, 0/0, 0/0                   , 0/0            , 0/0               , 0.30/0.70             
diff --git a/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs b/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs
index 239b86ff9a..022fbf2597 100644
--- a/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs
+++ b/VectoCore/VectoCoreTest/Models/Declaration/DeclarationDataTest.cs
@@ -2146,10 +2146,11 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
 			Assert.AreEqual(eUdLow, factors[Tuple.Create(MissionType.UrbanDelivery, LoadingType.LowLoading)], 1e-9);
 			Assert.AreEqual(eUdRef, factors[Tuple.Create(MissionType.UrbanDelivery, LoadingType.ReferenceLoad)], 1e-9);
 
-			Assert.AreEqual(0, factors[Tuple.Create(MissionType.Construction, LoadingType.LowLoading)], 1e-9);
+			/*Assert.AreEqual(0, factors[Tuple.Create(MissionType.Construction, LoadingType.LowLoading)], 1e-9);
 			Assert.AreEqual(0, factors[Tuple.Create(MissionType.Construction, LoadingType.LowLoading)], 1e-9);
 			Assert.AreEqual(0, factors[Tuple.Create(MissionType.MunicipalUtility, LoadingType.LowLoading)], 1e-9);
 			Assert.AreEqual(0, factors[Tuple.Create(MissionType.MunicipalUtility, LoadingType.ReferenceLoad)], 1e-9);
+			*/
 			Assert.AreEqual(0, factors[Tuple.Create(MissionType.LongHaulEMS, LoadingType.LowLoading)], 1e-9);
 			Assert.AreEqual(0, factors[Tuple.Create(MissionType.LongHaulEMS, LoadingType.ReferenceLoad)], 1e-9);
 			Assert.AreEqual(0, factors[Tuple.Create(MissionType.RegionalDeliveryEMS, LoadingType.LowLoading)], 1e-9);
-- 
GitLab