diff options
author | Jörgen Scott <jorgen.scott@gmail.com> | 2015-02-09 15:54:45 +0100 |
---|---|---|
committer | Jörgen Scott <jorgen.scott@gmail.com> | 2015-02-09 15:54:45 +0100 |
commit | 958e286699348c1c2110155efd2a1682fb6a1ac4 (patch) | |
tree | 9f23c7afd150dbcda2a6ec0fec8e87f4cbb82770 /doc/zmq-ctrl/cpp/test/ctrl_test.cpp | |
parent | b31494c688ad93f2c09688a9061c7d392c6844a7 (diff) | |
download | dabmod-958e286699348c1c2110155efd2a1682fb6a1ac4.tar.gz dabmod-958e286699348c1c2110155efd2a1682fb6a1ac4.tar.bz2 dabmod-958e286699348c1c2110155efd2a1682fb6a1ac4.zip |
changed static delay parameter type
Diffstat (limited to 'doc/zmq-ctrl/cpp/test/ctrl_test.cpp')
-rw-r--r-- | doc/zmq-ctrl/cpp/test/ctrl_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/zmq-ctrl/cpp/test/ctrl_test.cpp b/doc/zmq-ctrl/cpp/test/ctrl_test.cpp index 21811d6..fdfd35a 100644 --- a/doc/zmq-ctrl/cpp/test/ctrl_test.cpp +++ b/doc/zmq-ctrl/cpp/test/ctrl_test.cpp @@ -80,8 +80,9 @@ BOOST_AUTO_TEST_CASE (Muting) BOOST_AUTO_TEST_CASE (StaticDelay) { - // reset first or else test will fail on successive runs - BOOST_CHECK(modCtrl.SetStaticDelay(-1, error) == true); + // reset first (by setting out of range value) or else test + // will fail on successive runs + BOOST_CHECK(modCtrl.SetStaticDelay(100000, error) == true); BOOST_CHECK(modCtrl.SetStaticDelay(45000, error) == true); uint32_t value; BOOST_CHECK(modCtrl.GetStaticDelay(value, error) == true); |