#include <sophus/types.hpp>
Go to the source code of this file.
Classes | |
class | Sophus::details::Pretty< Scalar > |
class | Sophus::details::Pretty< Eigen::Matrix< Scalar, M, N > > |
Namespaces | |
Sophus | |
Sophus::details | |
Macros | |
#define | SOPHUS_STRINGIFY(x) #x |
#define | SOPHUS_TEST(passed, condition, ...) |
#define | SOPHUS_TEST_APPROX(passed, left, right, thr, ...) |
#define | SOPHUS_TEST_EQUAL(passed, left, right, ...) |
#define | SOPHUS_TEST_NEQ(passed, left, right, ...) |
#define | SOPHUS_TEST_NOT_APPROX(passed, left, right, thr, ...) |
Functions | |
template<class T > | |
std::string | Sophus::details::pretty (T const &v) |
void | Sophus::processTestResult (bool passed) |
template<class... Args> | |
void | Sophus::details::testFailed (bool &passed, char const *func, char const *file, int line, std::string const &msg) |
#define SOPHUS_STRINGIFY | ( | x | ) | #x |
Definition at line 49 of file test_macros.hpp.
#define SOPHUS_TEST | ( | passed, | |
condition, | |||
... | |||
) |
GenericTests whether condition is true. The in-out parameter passed will be set to false if test fails.
Definition at line 53 of file test_macros.hpp.
#define SOPHUS_TEST_APPROX | ( | passed, | |
left, | |||
right, | |||
thr, | |||
... | |||
) |
GenericTests whether left is approximatly equal to right given a threshold. The in-out parameter passed will be set to false if test fails.
Definition at line 96 of file test_macros.hpp.
#define SOPHUS_TEST_EQUAL | ( | passed, | |
left, | |||
right, | |||
... | |||
) |
GenericTests whether left is equal to right given a threshold. The in-out parameter passed will be set to false if test fails.
Definition at line 66 of file test_macros.hpp.
#define SOPHUS_TEST_NEQ | ( | passed, | |
left, | |||
right, | |||
... | |||
) |
GenericTests whether left is equal to right given a threshold. The in-out parameter passed will be set to false if test fails.
Definition at line 81 of file test_macros.hpp.
#define SOPHUS_TEST_NOT_APPROX | ( | passed, | |
left, | |||
right, | |||
thr, | |||
... | |||
) |
GenericTests whether left is NOT approximatly equal to right given a threshold. The in-out parameter passed will be set to false if test fails.
Definition at line 113 of file test_macros.hpp.