Skip to content

Commit

Permalink
Tests: Additional test timer
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent f882d41 commit 119fd4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/tests/test_timer/main.cpp
Expand Up @@ -40,6 +40,10 @@ int main(int argc, char **argv)
quittingTime.audienceForTrigger() += [&](){ app.stopLoop(0); };
quittingTime.start();

Timer test;
test.audienceForTrigger() += [](){ debug("Testing!"); };
test.start(1);

app.execLoop();
}
catch (Error const &err)
Expand Down

0 comments on commit 119fd4d

Please sign in to comment.