26 #include <mln/fun/v2v/projection.hh>
28 #include <mln/core/alias/point3d.hh>
29 #include <mln/core/alias/point2d.hh>
30 #include <mln/core/alias/point1d.hh>
41 fun::v2v::projection<P,0> f;
42 mln_assertion(f(p) ==
point1d(1));
45 fun::v2v::projection<P,1> f;
46 mln_assertion(f(p) ==
point1d(0));
54 fun::v2v::projection<P,0> f;
55 mln_assertion(f(p) ==
point2d(1,2));
58 fun::v2v::projection<P,1> f;
59 mln_assertion(f(p) ==
point2d(0,2));
62 fun::v2v::projection<P,2> f;
63 mln_assertion(f(p) ==
point2d(0,1));