Skip to content

Commit

Permalink
[unitTesting] Add test_controller_manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-stasse committed Apr 16, 2019
1 parent 91bcc32 commit e7abd1c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions unitTesting/test_controller_manager.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

/* Copyright 2019, LAAS-CNRS
*
* Olivier Stasse
*
*/
#include <sstream>
#include <iostream>

#include <sot/torque_control/control-manager.hh>

#include <boost/test/unit_test.hpp>
#include <boost/test/output_test_stream.hpp>

using boost::test_tools::output_test_stream;
namespace dyn_sot_tc = dynamicgraph::sot::torque_control;

BOOST_AUTO_TEST_CASE(testControlManager)
{
dyn_sot_tc::ControlManager &a_control_manager =
*(dynamic_cast<dyn_sot_tc *>(dynamicgraph::FactoryStorage::
getInstance()->newEntity("ControlManager",
"a_control_manager")));


}

0 comments on commit e7abd1c

Please sign in to comment.