9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
37 std::ostream&
toStream(std::ostream& sl)
const final {
38 sl <<
"SurfaceBoundsStub";
47 BOOST_AUTO_TEST_SUITE(Surfaces)
57 std::vector<double> reference{0, 1, 2, 3, 4};
58 const auto& boundValues = surface.
values();
59 BOOST_CHECK_EQUAL_COLLECTIONS(reference.cbegin(), reference.cend(),
60 boundValues.cbegin(), boundValues.cend());
67 BOOST_CHECK_EQUAL(surface, copiedSurface);
68 BOOST_CHECK_NE(surface, differentSurface);
71 BOOST_CHECK_EQUAL(surface, assignedSurface);
72 const auto& surfaceboundValues = surface.
values();
73 const auto& assignedboundValues = assignedSurface.
values();
74 BOOST_CHECK_EQUAL_COLLECTIONS(
75 surfaceboundValues.cbegin(), surfaceboundValues.cend(),
76 assignedboundValues.cbegin(), assignedboundValues.cend());
78 BOOST_AUTO_TEST_SUITE_END()