Source

rbdl / tests / main.cc

The dev branch has multiple heads

#include <UnitTest++.h>
#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 UnitTest::RunAllTests ();
}