Skip to content

Commit 95f4d45

Browse files
committed
improve test
1 parent 0484d09 commit 95f4d45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_timeout.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ void pause_resume()
142142
TEST_ASSERT_EQUAL(t.time_left_ms(), 0);
143143
TEST_ASSERT_EQUAL(t.time_over(), true);
144144
TEST_ASSERT_EQUAL(t.is_paused(), false);
145+
t.resume();
146+
TEST_ASSERT_EQUAL(t.time_left_ms(), 0);
147+
TEST_ASSERT_EQUAL(t.time_over(), true);
148+
TEST_ASSERT_EQUAL(t.is_paused(), false);
145149
}
146150

147151
void no_expiration_in_pause()

0 commit comments

Comments
 (0)