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 BOOST_AUTO_TEST_SUITE(Surfaces)
26 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
51 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
56 auto valvector = original.
values();
57 std::array<double, DiscTrapezoidBounds::eSize>
values;
60 BOOST_CHECK_EQUAL(recreated, original);
65 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
106 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0),
113 BOOST_CHECK_EQUAL(DiscTrapezoidBoundsObject.
type(),
122 boost::test_tools::output_test_stream dumpOuput;
123 DiscTrapezoidBoundsObject.
toStream(dumpOuput);
124 BOOST_CHECK(dumpOuput.is_equal(
125 "Acts::DiscTrapezoidBounds: (innerRadius, outerRadius, halfLengthXminR, "
126 "halfLengthXmaxR, halfLengthY, halfPhiSector, averagePhi, rCenter, "
128 "(2.0000000, 6.0000000, 1.0000000, 5.0000000, 0.7922870, 0.9851108, "
129 "0.0000000, 2.5243378, 0.0000000)"));
166 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
175 assignedDiscTrapezoidBoundsObject = DiscTrapezoidBoundsObject;
176 BOOST_CHECK_EQUAL(assignedDiscTrapezoidBoundsObject,
177 DiscTrapezoidBoundsObject);
180 BOOST_AUTO_TEST_SUITE_END()