9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
22 using namespace UnitLiterals;
26 BOOST_AUTO_TEST_SUITE(Geometry)
30 std::vector<Vector3D> vertices = {
37 for (
const auto&
v : vertices) {
41 double phiMin = std::atan2(-3_mm, 15_mm);
42 double phiMax = std::atan2(3_mm, 15_mm);
43 double rMin = std::sqrt(15_mm * 15_mm + 3_mm * 3_mm);
74 aExtent.
ranges = {{1, 2}, {2, 3}, {4, 5}, {2., sqrt(5.)}, {-0.1, 1.4},
75 {-4., 4.}, {0., 0.}, {1., 2.}, {0., sqrt(9.)}};
78 bExtent.
ranges = {{-2, -1}, {1, 2.5}, {6, 8},
79 {0., sqrt(12.)}, {-0.1, 1.4}, {-2., 2.},
80 {0., 0.}, {-2., 0.}, {0., sqrt(9.)}};
100 BOOST_AUTO_TEST_SUITE_END()