28 #include <mln/win/rectangle2d.hh>
29 #include <mln/win/sym.hh>
30 #include <mln/convert/to_image.hh>
31 #include <mln/debug/println.hh>
38 const unsigned h = 3, w = 5;
41 mln_assertion(rec.is_centered());
42 mln_assertion(rec.is_symmetric());
44 mln_assertion(rec.size() == h * w);
46 mln_assertion(rec.delta() == 2);
51 mln_assertion((std::abs(x) <= 1 && std::abs(y) <= 2) == rec.has(
dpoint2d(x, y)));