9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
24 using boost::test_tools::output_test_stream;
25 namespace utf = boost::unit_test;
36 BOOST_AUTO_TEST_SUITE(Layers)
47 std::vector<std::shared_ptr<const Surface>> aSurfaces{
48 Surface::makeShared<SurfaceStub>(), Surface::makeShared<SurfaceStub>()};
49 std::unique_ptr<ApproachDescriptor> ad(
52 LayerStub approachDescriptorConstructed(
nullptr, thickness, std::move(ad));
62 auto rBounds = std::make_shared<const RectangleBounds>(1., 1.);
64 std::shared_ptr<const Transform3D> pNullTransform{};
65 const std::vector<std::shared_ptr<const Surface>> aSurfaces{
66 Surface::makeShared<PlaneSurface>(pNullTransform, rBounds),
67 Surface::makeShared<PlaneSurface>(pNullTransform, rBounds)};
68 std::unique_ptr<ApproachDescriptor> ad(
70 auto adPtr = ad.get();
72 LayerStub layerStub(
nullptr, thickness, std::move(ad));
81 const Vector3D pos2{100., 100., std::nan(
"")};
89 const Vector3D direction{0., 0., -1.};
102 BOOST_AUTO_TEST_SUITE_END()