Code development platform for open source projects from the European Union institutions

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

another testcase

parent 629d8135
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,7 @@ namespace TUGraz.VectoCore.InputData.Reader.Impl
gearboxData.Gears[InputDataProvider.JobInputData.Vehicle.PTO_DriveGear.Value].Ratio /
(angledriveData?.Angledrive.Ratio ?? 1.0) * vehicle.DynamicTyreRadius;
driver.PTODriveRoadsweepingGear = InputDataProvider.JobInputData.Vehicle.PTO_DriveGear.Value;
engineData.PTORoadSweepEngineSpeed = InputDataProvider.JobInputData.Vehicle.PTO_DriveEngineSpeed;
}
......
......@@ -87,6 +87,18 @@ namespace TUGraz.VectoCore.Tests.Integration.RoadSweepers
EngineeringRunWithCycle(RoadSweeperJob, cycle, "Accelerate_Drive_switch_PTO_on_during_drive_with_higher_speed");
}
[TestCase()]
public void RoadSweeper_ChangePTOLoadDuringSweeping()
{
var cycle = " 0, 0, 0, 5, 0, 3, 0 \n" +
" 1, 8, 0, 0, 2, 3, 10 \n" +
" 400, 8, 0, 0, 2, 3, 20 \n" +
"1000, 0, 0, 5, 0, 3, 0 \n";
EngineeringRunWithCycle(RoadSweeperJob, cycle, "Accelerate_Drive_change_PTO_load_while_sweeping");
}
[TestCase(RoadSweeperJob, 1, TestName = "RoadSweeper 1")]
public void RoadSweeperTest(string jobFile, int idx)
{
......
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