Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 844dbd59 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

adding more testcases for comparing model parameters factor method

parent b008bf4b
No related branches found
No related tags found
No related merge requests found
......@@ -152,13 +152,18 @@ public class PrimaryBusSimulation
RunSimulationSingle(jobFile, completed, runIdx);
}
private const LoadingType LowL = LoadingType.LowLoading;
private const LoadingType RefL = LoadingType.ReferenceLoad;
private const MissionType CycleCO = MissionType.Coach;
[TestCase(@"PrimaryBus/Conventional/primary_heavyBus group41_nonSmart.xml", @"Conventional_completedBus_2.xml", @"primary_heavyBus group41_nonSmart.RSLT_VIF.xml", CycleCO, RefL,
TestName = "2nd Amendment FactorMethodRunData Conventional CO RL"),
]
public void TestFactorMethodRunData(string primary, string completed, string vifFile, MissionType mission, LoadingType loading)
TestCase(@"PrimaryBus/P-HEV/PrimaryCoach_P2_HEV_Base_AMT.xml", @"HEV_completedBus_2.xml", @"PrimaryCoach_P2_HEV_Base_AMT.RSLT_VIF.xml", CycleCO, LowL,
TestName = "2nd Amendment FactorMethodRunData Coach HEV P2 CO LL"),
TestCase(@"PrimaryBus/P-HEV/PrimaryCoach_P2_HEV_AMT_ADC.xml", @"HEV_completedBus_2.xml", @"PrimaryCoach_P2_HEV_AMT_ADC.RSLT_VIF.xml", CycleCO, LowL,
TestName = "2nd Amendment FactorMethodRunData Coach HEV P2 ADC CO LL"),
]
public void TestFactorMethodRunData(string primary, string completed, string vifFile, MissionType mission, LoadingType loading)
{
_kernel.Rebind<IMissionFilter>().To<TestMissionFilter>().InSingletonScope();
var missionFilter = _kernel.Get<IMissionFilter>() as TestMissionFilter;
......
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