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