From 52877fb3ea60834a152a974fef94e2d44a2a5106 Mon Sep 17 00:00:00 2001 From: Janosch Date: Mon, 10 Oct 2022 22:37:12 +0100 Subject: [PATCH] might as well tell people what I am doing --- test/test_logic.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_logic.h b/test/test_logic.h index 20d2c43..77e7a4b 100644 --- a/test/test_logic.h +++ b/test/test_logic.h @@ -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);