diff options
author | Chris Wilson <chris+github@qwirx.com> | 2012-11-06 23:58:14 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2012-11-06 23:58:14 +0000 |
commit | 3ba663b5c6e85dbf45b08336bba6333e92555fe1 (patch) | |
tree | 24e95a05cc4c10e07264f8ca8f135c3951228e94 /test/common/testcommon.cpp | |
parent | cb0a6924b984678f1b7a2db92a897a0f99b8c96a (diff) |
Timer arguments are in milliseconds, not seconds.
Diffstat (limited to 'test/common/testcommon.cpp')
-rw-r--r-- | test/common/testcommon.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/common/testcommon.cpp b/test/common/testcommon.cpp index 782d149f..53ee7588 100644 --- a/test/common/testcommon.cpp +++ b/test/common/testcommon.cpp @@ -332,9 +332,9 @@ int test(int argc, const char *argv[]) Timers::Init(); Timer t0(0, "t0"); // should never expire - Timer t1(1, "t1"); - Timer t2(2, "t2"); - Timer t3(3, "t3"); + Timer t1(1000, "t1"); + Timer t2(2000, "t2"); + Timer t3(3000, "t3"); TEST_THAT(!t0.HasExpired()); TEST_THAT(!t1.HasExpired()); @@ -353,8 +353,8 @@ int test(int argc, const char *argv[]) TEST_THAT(t2.HasExpired()); TEST_THAT(!t3.HasExpired()); - t1 = Timer(1, "t1a"); - t2 = Timer(2, "t2a"); + t1 = Timer(1000, "t1a"); + t2 = Timer(2000, "t2a"); TEST_THAT(!t0.HasExpired()); TEST_THAT(!t1.HasExpired()); TEST_THAT(!t2.HasExpired()); |