might as well tell people what I am doing

This commit is contained in:
Janosch
2022-10-10 22:37:12 +01:00
parent d7673cd292
commit 52877fb3ea
+4 -1
View File
@@ -33,16 +33,19 @@ void test_check_timeout()
{
bool res;
startTime = 11;
//above limit
Param::SetInt(Param::test_time, 14 * 60);
Param::SetInt(Param::timelim, 13);
res = CheckTimeout();
assert(res);
//below limit
Param::SetInt(Param::test_time, 12 * 60);
res = CheckTimeout();
assert(!res);
//start time changes result
startTime = 1100;
res = CheckTimeout();
assert(res);