2021-10-16 19:35:05 +02:00
|
|
|
#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();
|
|
|
|
}
|
|
|
|
|
2021-10-16 19:35:05 +02:00
|
|
|
return Catch::Session().run(argc, argv);
|
2020-10-03 22:55:14 +02:00
|
|
|
}
|