9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
29 using boost::test_tools::output_test_stream;
30 namespace utf = boost::unit_test;
36 BOOST_AUTO_TEST_SUITE(Layers)
45 double alpha(M_PI / 8.0);
46 const bool symmetric(
false);
47 auto pCone = std::make_shared<const ConeBounds>(
alpha, symmetric);
53 auto rBounds = std::make_shared<const RectangleBounds>(1., 1.);
55 const std::vector<std::shared_ptr<const Surface>> aSurfaces{
56 Surface::makeShared<PlaneSurface>(Transform3::Identity(),
rBounds),
57 Surface::makeShared<PlaneSurface>(Transform3::Identity(),
rBounds)};
62 auto pConeLayerWithThickness =
64 BOOST_CHECK_EQUAL(pConeLayerWithThickness->thickness(),
thickness);
66 std::unique_ptr<ApproachDescriptor> ad(
68 auto adPtr = ad.get();
69 auto pConeLayerWithApproachDescriptor =
71 BOOST_CHECK_EQUAL(pConeLayerWithApproachDescriptor->approachDescriptor(),
79 BOOST_AUTO_TEST_SUITE_END()