Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit e7abd1c

Browse files
[unitTesting] Add test_controller_manager.
1 parent 91bcc32 commit e7abd1c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
/* Copyright 2019, LAAS-CNRS
3+
*
4+
* Olivier Stasse
5+
*
6+
*/
7+
#include <sstream>
8+
#include <iostream>
9+
10+
#include <sot/torque_control/control-manager.hh>
11+
12+
#include <boost/test/unit_test.hpp>
13+
#include <boost/test/output_test_stream.hpp>
14+
15+
using boost::test_tools::output_test_stream;
16+
namespace dyn_sot_tc = dynamicgraph::sot::torque_control;
17+
18+
BOOST_AUTO_TEST_CASE(testControlManager)
19+
{
20+
dyn_sot_tc::ControlManager &a_control_manager =
21+
*(dynamic_cast<dyn_sot_tc *>(dynamicgraph::FactoryStorage::
22+
getInstance()->newEntity("ControlManager",
23+
"a_control_manager")));
24+
25+
26+
}

0 commit comments

Comments
 (0)