9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
28 #include "../Surfaces/SurfaceStub.hpp"
31 using boost::test_tools::output_test_stream;
32 namespace utf = boost::unit_test;
43 BOOST_AUTO_TEST_SUITE(Layers)
54 std::vector<std::shared_ptr<const Surface>> aSurfaces{
55 Surface::makeShared<SurfaceStub>(), Surface::makeShared<SurfaceStub>()};
56 std::unique_ptr<ApproachDescriptor> ad(
69 auto rBounds = std::make_shared<const RectangleBounds>(1., 1.);
71 const std::vector<std::shared_ptr<const Surface>> aSurfaces{
72 Surface::makeShared<PlaneSurface>(Transform3::Identity(),
rBounds),
73 Surface::makeShared<PlaneSurface>(Transform3::Identity(),
rBounds)};
74 std::unique_ptr<ApproachDescriptor> ad(
76 auto adPtr = ad.get();
87 const Vector3 pos2{100., 100., std::nan(
"")};
95 const Vector3 direction{0., 0., -1.};
108 BOOST_AUTO_TEST_SUITE_END()