Fixed missing return in some c tests
This commit is contained in:
@@ -74,6 +74,7 @@ int basicCTRLTest(char** drefs, int ac)
|
|||||||
{
|
{
|
||||||
return -30000 + result;
|
return -30000 + result;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int testCTRL_Player()
|
int testCTRL_Player()
|
||||||
@@ -143,5 +144,6 @@ int testCTRL_Speedbrakes()
|
|||||||
{
|
{
|
||||||
return -30000 + result;
|
return -30000 + result;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -83,6 +83,7 @@ int basicPOSITest(char** drefs, int ac)
|
|||||||
{
|
{
|
||||||
return -20000 + result;
|
return -20000 + result;
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int testPOSI_Player()
|
int testPOSI_Player()
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ int doSIMUTest(int value, float expected)
|
|||||||
return -100 - i;
|
return -100 - i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int testSIMU_Basic()
|
int testSIMU_Basic()
|
||||||
|
|||||||
Reference in New Issue
Block a user