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 a9b44e99 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

testcase for reproducing bug with overspeed in lookahead

parent ad98cf3a
Branches
Tags
No related merge requests found
......@@ -814,6 +814,22 @@ namespace TUGraz.VectoCore.Tests.Integration.DriverStrategy
@"..\..\TestData\Integration\DriverStrategy\Vecto2.2\40t Truck_Overspeed\40t_Long_Haul_Truck_Cycle_Accelerate_0_40_downhill_1.vmod");
}
[TestMethod]
public void Truck_Accelerate_Decelerate_Downhill_overspeed()
{
var cycleData = new string[] {
// <s>,<v>,<grad>,<stop>
" 0, 60, 0, 0",
" 10, 60, -6, 0",
"100, 55, -6, 0",
"300, 55, -6, 0"
};
var cycle = SimpleDrivingCycles.CreateCycleData(cycleData);
Truck40tPowerTrain.CreateEngineeringRun(cycle, "Truck_DriverStrategy_Accelerate_Decelerate-overspeed.vmod", true)
.Run();
}
#endregion
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment