9 #include <boost/test/data/test_case.hpp>
10 #include <boost/test/tools/output_test_stream.hpp>
11 #include <boost/test/unit_test.hpp>
25 BOOST_AUTO_TEST_SUITE(Surfaces)
33 BOOST_CHECK(check.
isInside({0, 0}, ll, ur));
34 BOOST_CHECK(!
check.isInside({2, 2}, ll, ur));
35 BOOST_CHECK(!
check.isInside({0, 2}, ll, ur));
36 BOOST_CHECK(!
check.isInside({2, 0}, ll, ur));
43 BOOST_CHECK(check.
isInside({0, 0}, ll, ur));
44 BOOST_CHECK(
check.isInside({2, 2}, ll, ur));
45 BOOST_CHECK(!
check.isInside({4, 4}, ll, ur));
46 BOOST_CHECK(
check.isInside({0, 2}, ll, ur));
47 BOOST_CHECK(
check.isInside({2, 0}, ll, ur));
75 cov << 1, 0.5, 0.5, 2;
79 BOOST_CHECK(check.
isInside({0, 0}, ll, ur));
80 BOOST_CHECK(
check.isInside({2, 2}, ll, ur));
81 BOOST_CHECK(!
check.isInside({4, 4}, ll, ur));
82 BOOST_CHECK(
check.isInside({0, 3}, ll, ur));
83 BOOST_CHECK(
check.isInside({3, 0}, ll, ur));
119 cov << 0.5, 0, 0, 0.5;
128 BOOST_AUTO_TEST_SUITE_END()