26 #include <mln/core/image/image2d.hh>
27 #include <mln/geom/size2d.hh>
29 #include <mln/core/routine/init.hh>
30 #include <mln/border/resize.hh>
38 const unsigned nrows = 1;
39 const unsigned ncols = 66;
41 const unsigned new_border = 3;
45 mln_assertion(f.nrows() ==
nrows);
46 mln_assertion(f.ncols() ==
ncols);
49 const void* f_id = f.id_();
51 mln_assertion(g.id_() == 0);
54 mln_assertion(g.id_() == f_id);
58 mln_assertion(f.nelements() == (
nrows + 2 * new_border) * (
ncols + 2 * new_border));