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;
35 BOOST_AUTO_TEST_SUITE(Layers)
46 std::vector<std::shared_ptr<const Surface>> aSurfaces{
47 Surface::makeShared<SurfaceStub>(), Surface::makeShared<SurfaceStub>()};
48 std::unique_ptr<ApproachDescriptor> ad(
51 LayerStub approachDescriptorConstructed(
nullptr, thickness, std::move(ad));
61 auto rBounds = std::make_shared<const RectangleBounds>(1., 1.);
63 const std::vector<std::shared_ptr<const Surface>> aSurfaces{
64 Surface::makeShared<PlaneSurface>(Transform3D::Identity(), rBounds),
65 Surface::makeShared<PlaneSurface>(Transform3D::Identity(), rBounds)};
66 std::unique_ptr<ApproachDescriptor> ad(
68 auto adPtr = ad.get();
70 LayerStub layerStub(
nullptr, thickness, std::move(ad));
79 const Vector3D pos2{100., 100., std::nan(
"")};
87 const Vector3D direction{0., 0., -1.};
100 BOOST_AUTO_TEST_SUITE_END()