9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
27 BOOST_AUTO_TEST_SUITE(Surfaces)
31 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
53 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
58 auto valvector = original.
values();
59 std::array<double, DiscTrapezoidBounds::eSize>
values{};
62 BOOST_CHECK_EQUAL(recreated, original);
67 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
108 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0),
115 BOOST_CHECK_EQUAL(DiscTrapezoidBoundsObject.
type(),
124 boost::test_tools::output_test_stream dumpOuput;
125 DiscTrapezoidBoundsObject.
toStream(dumpOuput);
126 BOOST_CHECK(dumpOuput.is_equal(
127 "Acts::DiscTrapezoidBounds: (innerRadius, outerRadius, halfLengthXminR, "
128 "halfLengthXmaxR, halfLengthY, halfPhiSector, averagePhi, rCenter, "
130 "(2.0000000, 6.0000000, 1.0000000, 5.0000000, 0.7922870, 0.9851108, "
131 "0.0000000, 2.5243378, 0.0000000)"));
168 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
177 assignedDiscTrapezoidBoundsObject = DiscTrapezoidBoundsObject;
178 BOOST_CHECK_EQUAL(assignedDiscTrapezoidBoundsObject,
179 DiscTrapezoidBoundsObject);
182 BOOST_AUTO_TEST_SUITE_END()