#include <sstream>
#include <boost/test/tools/floating_point_comparison.hpp>
#include <boost/test/tools/output_test_stream.hpp>
#include <boost/test/unit_test.hpp>
#include <sot/core/matrix-geometry.hh>
Go to the source code of this file.
Macros | |
#define | BOOST_TEST_MODULE matrix_twist |
#define | MATRIX_4x4_INIT(M, A00, A01, A02, A03, A10, A11, A12, A13, A20, A21, A22, A23, A30, A31, A32, A33) |
#define | MATRIX_6x6_BOOST_REQUIRE_CLOSE(LEFT, RIGHT, TOLERANCE) MATRIX_BOOST_REQUIRE_CLOSE(6, 6, LEFT, RIGHT, TOLERANCE) |
#define | MATRIX_6x6_INIT(M, A00, A01, A02, A03, A04, A05, A10, A11, A12, A13, A14, A15, A20, A21, A22, A23, A24, A25, A30, A31, A32, A33, A34, A35, A40, A41, A42, A43, A44, A45, A50, A51, A52, A53, A54, A55) |
#define | MATRIX_BOOST_REQUIRE_CLOSE(N, M, LEFT, RIGHT, TOLERANCE) |
Functions | |
BOOST_AUTO_TEST_CASE (constructor_rotation_only) | |
BOOST_AUTO_TEST_CASE (constructor_rotation_translation) | |
BOOST_AUTO_TEST_CASE (constructor_translation_only) | |
BOOST_AUTO_TEST_CASE (constructor_trivial_identity) | |
BOOST_AUTO_TEST_CASE (inverse_translation_only) | |
BOOST_AUTO_TEST_CASE (inverse_translation_rotation) | |
#define BOOST_TEST_MODULE matrix_twist |
Definition at line 5 of file matrix-twist.cpp.
#define MATRIX_4x4_INIT | ( | M, | |
A00, | |||
A01, | |||
A02, | |||
A03, | |||
A10, | |||
A11, | |||
A12, | |||
A13, | |||
A20, | |||
A21, | |||
A22, | |||
A23, | |||
A30, | |||
A31, | |||
A32, | |||
A33 | |||
) |
#define MATRIX_6x6_BOOST_REQUIRE_CLOSE | ( | LEFT, | |
RIGHT, | |||
TOLERANCE | |||
) | MATRIX_BOOST_REQUIRE_CLOSE(6, 6, LEFT, RIGHT, TOLERANCE) |
Definition at line 19 of file matrix-twist.cpp.
#define MATRIX_6x6_INIT | ( | M, | |
A00, | |||
A01, | |||
A02, | |||
A03, | |||
A04, | |||
A05, | |||
A10, | |||
A11, | |||
A12, | |||
A13, | |||
A14, | |||
A15, | |||
A20, | |||
A21, | |||
A22, | |||
A23, | |||
A24, | |||
A25, | |||
A30, | |||
A31, | |||
A32, | |||
A33, | |||
A34, | |||
A35, | |||
A40, | |||
A41, | |||
A42, | |||
A43, | |||
A44, | |||
A45, | |||
A50, | |||
A51, | |||
A52, | |||
A53, | |||
A54, | |||
A55 | |||
) |
Definition at line 29 of file matrix-twist.cpp.
BOOST_AUTO_TEST_CASE | ( | constructor_rotation_only | ) |
Definition at line 74 of file matrix-twist.cpp.
BOOST_AUTO_TEST_CASE | ( | constructor_rotation_translation | ) |
Definition at line 109 of file matrix-twist.cpp.
BOOST_AUTO_TEST_CASE | ( | constructor_translation_only | ) |
Definition at line 89 of file matrix-twist.cpp.
BOOST_AUTO_TEST_CASE | ( | constructor_trivial_identity | ) |
Definition at line 61 of file matrix-twist.cpp.
BOOST_AUTO_TEST_CASE | ( | inverse_translation_only | ) |
Definition at line 129 of file matrix-twist.cpp.
BOOST_AUTO_TEST_CASE | ( | inverse_translation_rotation | ) |
Definition at line 155 of file matrix-twist.cpp.