AnimatLab  2
Test
RoboticsAnimatSim/Robotics_UnitTests/Rotation_Tests.cpp
1 #include "stdafx.h"
2 #include <boost/test/unit_test.hpp>
3 #include <boost/shared_ptr.hpp>
4 
5 BOOST_AUTO_TEST_SUITE( Rotation_Suite )
6 
7 bool is_critical( CStdErrorInfo const& ex ) { return ex.m_lError < 0; }
8 
9 BOOST_AUTO_TEST_CASE( Dynamic_Loading )
10 {
11  // std::string strExePath = Std_ExecutablePath();
12  // std::string strExecutablePath, strExeFile;
13  //Std_SplitPathAndFile(strExePath, strExecutablePath, strExeFile);
14 
15  // std::string strProjFile = strExecutablePath + "../Libraries/RoboticsAnimatSim/Bullet_UnitTests/TestResources/SingleJoint_StandaloneD.asim";
16 
17  //Simulator *lpSim = Simulator::CreateSimulator("", strProjFile);
18  //
19  //RigidBody *lpBody = dynamic_cast<RigidBody *>(lpSim->CreateObject("", "RigidBody", "Box"));
20  //if(lpBody)
21  // delete lpBody;
22 
23  // if(lpSim)
24  // delete lpSim;
25 }
26 
27 
28 BOOST_AUTO_TEST_SUITE_END()