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

correct testcase: expected torque loss is 0 in case the angular speed is 0

parent dcf2c363
No related branches found
No related tags found
No related merge requests found
......@@ -440,7 +440,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
TestCase(2, 50, 600, 9.096, typeof(ResponseSuccess)),
TestCase(2, 2050, 1200, 52.132, typeof(ResponseSuccess)),
TestCase(2, 850, 600, 25.096, typeof(ResponseSuccess)),
TestCase(1, 850, 0, 22.06, typeof(ResponseSuccess)),
TestCase(1, 850, 0, 0, typeof(ResponseSuccess)), // torque loss is 0 if speed is 0
]
public void Gearbox_Request_engaged(int gear, double t, double n, double loss, Type responseType)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment