9 #include <boost/test/unit_test.hpp>
22 BOOST_AUTO_TEST_SUITE(UnitVectors)
56 const auto inf = std::numeric_limits<double>::infinity();
76 mixed1.dot(
Vector3D(1, 1, M_SQRT2 * std::sinh(1.0)).normalized()), 1,
81 mixed2.dot(
Vector3D(1, 1, M_SQRT2 * std::sinh(-1.0)).normalized()), 1,
86 mixed3.dot(
Vector3D(1, -1, M_SQRT2 * std::sinh(-1.0)).normalized()), 1,
150 template <
typename Direction,
typename RefUnitU,
typename RefUnitV>
151 void testCurvilinear(
const Eigen::MatrixBase<Direction>& direction,
152 const Eigen::MatrixBase<RefUnitU>& refU,
153 const Eigen::MatrixBase<RefUnitV>& refV) {
198 BOOST_AUTO_TEST_SUITE_END()