rbdlsim/3rdparty/rbdl/tests/main.cc

22 lines
366 B
C++
Raw Normal View History

#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
2020-10-03 22:55:14 +02:00
#include <iostream>
#include <string>
#include <rbdl/rbdl.h>
int main (int argc, char *argv[])
{
rbdl_check_api_version (RBDL_API_VERSION);
if (argc > 1) {
std::string arg (argv[1]);
if (arg == "-v" || arg == "--version")
rbdl_print_version();
}
return Catch::Session().run(argc, argv);
2020-10-03 22:55:14 +02:00
}