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(),
126 boost::test_tools::output_test_stream dumpOuput;
127 DiscTrapezoidBoundsObject.
toStream(dumpOuput);
128 BOOST_CHECK(dumpOuput.is_equal(
129 "Acts::DiscTrapezoidBounds: (innerRadius, outerRadius, halfLengthXminR, "
130 "halfLengthXmaxR, halfLengthY, halfPhiSector, averagePhi, rCenter, "
132 "(2.0000000, 6.0000000, 1.0000000, 5.0000000, 0.7922870, 0.9851108, "
133 "0.0000000, 2.5243378, 0.0000000)"));
170 double minHalfX(1.0), maxHalfX(5.0), rMin(2.0), rMax(6.0), averagePhi(0.0),
179 assignedDiscTrapezoidBoundsObject = DiscTrapezoidBoundsObject;
180 BOOST_CHECK_EQUAL(assignedDiscTrapezoidBoundsObject,
181 DiscTrapezoidBoundsObject);
184 BOOST_AUTO_TEST_SUITE_END()