summaryrefslogtreecommitdiffstats
path: root/doc/zmq-ctrl/cpp/test
diff options
context:
space:
mode:
Diffstat (limited to 'doc/zmq-ctrl/cpp/test')
-rw-r--r--doc/zmq-ctrl/cpp/test/ctrl_test.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/zmq-ctrl/cpp/test/ctrl_test.cpp b/doc/zmq-ctrl/cpp/test/ctrl_test.cpp
index 3c38c89..21811d6 100644
--- a/doc/zmq-ctrl/cpp/test/ctrl_test.cpp
+++ b/doc/zmq-ctrl/cpp/test/ctrl_test.cpp
@@ -40,6 +40,11 @@ struct TemplateVars
// made for setting invalid parameters.
BOOST_FIXTURE_TEST_SUITE(test_template1, TemplateVars)
+BOOST_AUTO_TEST_CASE (Ping)
+{
+ BOOST_CHECK(modCtrl.Ping() == true);
+}
+
BOOST_AUTO_TEST_CASE (DigitalGain)
{
BOOST_CHECK(modCtrl.SetDigitalGain(0.5, error) == true);
@@ -75,7 +80,7 @@ BOOST_AUTO_TEST_CASE (Muting)
BOOST_AUTO_TEST_CASE (StaticDelay)
{
- // reset first or else test will fail on successive calls
+ // reset first or else test will fail on successive runs
BOOST_CHECK(modCtrl.SetStaticDelay(-1, error) == true);
BOOST_CHECK(modCtrl.SetStaticDelay(45000, error) == true);
uint32_t value;