예제 #1
0
파일: Main.cpp 프로젝트: pmrobotix/PMX
int main()
{
	cout << "!!!Driver-SIMU-Test!!!" << endl;

	UnitTestSuite suite;

	suite.addTest(new test::LedDriverTest());
	suite.addTest(new test::AsservDriverTest());

	suite.run();

	return 0;
}
예제 #2
0
int main( int argc, char *argv[] ) {
#ifdef USE_DASHBOARD
    Dashboard::get();  // Make sure the dashboard gets deleted after the pumps.
#endif

    // For use in MSDev, where we can't set the environment prior to starting the
    // program.
    //Logger::get().setVerbosity(SEV_DEBUG);

    UnitTestSuite mySuite ("Sound tests", argc, argv);
    mySuite.addTest(new TestRealPump);

    mySuite.run();

    cerr << ">> Finished test '" << argv[0] << "'"
          << ", return status = " << mySuite.returnStatus() << endl;

    return mySuite.returnStatus();
}