9 #include <boost/test/unit_test.hpp>
22 using namespace Acts::detail;
23 using namespace Acts::Experimental;
24 using namespace Acts::Experimental::detail::GridAxisGenerators;
30 auto axisTupleB = eqb();
31 BOOST_CHECK(std::tuple_size<decltype(axisTupleB)>{} == 1
u);
32 auto axisB = std::get<0u>(axisTupleB);
33 BOOST_CHECK(axisB.getBoundaryType() == AxisBoundaryType::Bound);
36 auto axisTupleO = eqo();
37 BOOST_CHECK(std::tuple_size<decltype(axisTupleO)>{} == 1
u);
38 auto axisO = std::get<0u>(axisTupleO);
39 BOOST_CHECK(axisO.getBoundaryType() == AxisBoundaryType::Open);
42 auto axisTupleC = eqc();
43 BOOST_CHECK(std::tuple_size<decltype(axisTupleC)>{} == 1
u);
44 auto axisC = std::get<0u>(axisTupleC);
45 BOOST_CHECK(axisC.getBoundaryType() == AxisBoundaryType::Closed);
53 auto axisTuple = eoec();
54 BOOST_CHECK(std::tuple_size<decltype(axisTuple)>{} == 2
u);
55 auto axisVar = std::get<0u>(axisTuple);
56 BOOST_CHECK(axisVar.getBoundaryType() == AxisBoundaryType::Open);
57 BOOST_CHECK(axisVar.isEquidistant());
58 auto axisEq = std::get<1u>(axisTuple);
59 BOOST_CHECK(axisEq.getBoundaryType() == AxisBoundaryType::Closed);
60 BOOST_CHECK(axisEq.isEquidistant());
67 auto axisTuple = ebvo();
68 BOOST_CHECK(std::tuple_size<decltype(axisTuple)>{} == 2
u);
69 auto axisVar = std::get<0u>(axisTuple);
70 BOOST_CHECK(axisVar.getBoundaryType() == AxisBoundaryType::Bound);
71 BOOST_CHECK(axisVar.isEquidistant());
72 auto axisEq = std::get<1u>(axisTuple);
73 BOOST_CHECK(axisEq.getBoundaryType() == AxisBoundaryType::Open);
74 BOOST_CHECK(axisEq.isVariable());
81 auto axisTuple = vbec();
82 BOOST_CHECK(std::tuple_size<decltype(axisTuple)>{} == 2
u);
83 auto axisVar = std::get<0u>(axisTuple);
84 BOOST_CHECK(axisVar.getBoundaryType() == AxisBoundaryType::Bound);
85 BOOST_CHECK(axisVar.isVariable());
86 auto axisEq = std::get<1u>(axisTuple);
87 BOOST_CHECK(axisEq.getBoundaryType() == AxisBoundaryType::Closed);
88 BOOST_CHECK(axisEq.isEquidistant());
95 auto axisTuple = vbvb();
96 BOOST_CHECK(std::tuple_size<decltype(axisTuple)>{} == 2
u);
97 auto axisVar = std::get<0u>(axisTuple);
98 BOOST_CHECK(axisVar.getBoundaryType() == AxisBoundaryType::Bound);
99 BOOST_CHECK(axisVar.isVariable());
100 auto axisEq = std::get<1u>(axisTuple);
101 BOOST_CHECK(axisEq.getBoundaryType() == AxisBoundaryType::Bound);
102 BOOST_CHECK(axisEq.isVariable());
107 BOOST_AUTO_TEST_SUITE_END()