9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
23 using boost::test_tools::output_test_stream;
24 namespace utf = boost::unit_test;
30 BOOST_AUTO_TEST_SUITE(Layers)
40 const bool symmetric(
false);
41 auto pCone = std::make_shared<const ConeBounds>(
alpha, symmetric);
47 auto rBounds = std::make_shared<const RectangleBounds>(1., 1.);
49 const std::vector<std::shared_ptr<const Surface>> aSurfaces{
50 Surface::makeShared<PlaneSurface>(Transform3D::Identity(), rBounds),
51 Surface::makeShared<PlaneSurface>(Transform3D::Identity(), rBounds)};
56 auto pConeLayerWithThickness =
58 BOOST_CHECK_EQUAL(pConeLayerWithThickness->thickness(),
thickness);
60 std::unique_ptr<ApproachDescriptor> ad(
62 auto adPtr = ad.get();
63 auto pConeLayerWithApproachDescriptor =
65 BOOST_CHECK_EQUAL(pConeLayerWithApproachDescriptor->approachDescriptor(),
73 BOOST_AUTO_TEST_SUITE_END()