Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

updating testcase for drawing shift polygons

parent 6e7270d4
Branches
Tags
No related merge requests found
......@@ -592,16 +592,15 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
}
}
[TestCase]
public void ComputeShiftPolygonDeclarationTestConfidentialXMLJob()
[TestCase(@"E:\QUAM\Downloads\upshifts-missing_over-revving\FL_curve_orig.xml"),
TestCase(@"E:\QUAM\Downloads\VECTO_821\VECTO_lorry_6x2_13L_276kW.vecto")]
public void ComputeShiftPolygonDeclarationTestConfidentialXMLJob(string jobFile)
{
var jobFile = @"E:\QUAM\Downloads\upshifts-missing_over-revving\FL_curve_orig.xml";
if (!File.Exists(jobFile)) {
Assert.Inconclusive("Confidential File not found. Test cannot run without file.");
}
var job = new XMLDeclarationInputDataProvider(jobFile, true);
IDeclarationInputDataProvider job = (IDeclarationInputDataProvider)(Path.GetExtension(jobFile) == ".vecto" ? JSONInputDataFactory.ReadJsonJob(jobFile) : new XMLDeclarationInputDataProvider(jobFile, true));
var gearboxData = job.JobInputData.Vehicle.GearboxInputData;
var idlespeed = VectoMath.Max(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment