29 #include <mln/topo/is_facet.hh>
31 #include "tests/core/image/complex_image.hh"
37 typedef mln::bin_2complex_image2d I;
38 typedef mln_psite_(I) P;
42 mln::complex_higher_neighborhood<I::dim, mln_geom_(I)> higher_adj_nbh;
62 I ima = make_test_bin_2complex_image2d();
65 P t0(ima.domain(), 2, 0);
66 mln_assertion(mln::topo::is_facet(ima, t0, higher_adj_nbh));
69 P e2(ima.domain(), 1, 2);
70 mln_assertion(!mln::topo::is_facet(ima, e2, higher_adj_nbh));
73 P e0(ima.domain(), 1, 0);
77 mln_assertion(!mln::topo::is_facet(ima, t0, higher_adj_nbh));
79 mln_assertion(mln::topo::is_facet(ima, e2, higher_adj_nbh));