26 #ifndef MLN_TEST_POSITIVE_HH
27 # define MLN_TEST_POSITIVE_HH
33 # include <mln/test/predicate.hh>
34 # include <mln/pw/all.hh>
35 # include <mln/fun/v2v/id.hh>
36 # include <mln/literal/zero.hh>
47 bool positive(
const Image<I>& input);
50 # ifndef MLN_INCLUDE_ONLY
56 trace::entering(
"test::positive");
58 const I& input = exact(input_);
59 mln_precondition(input.is_valid());
65 pw::value(input) >= pw::cst(zero_));
70 trace::exiting(
"test::positive");
74 # endif // ! MLN_INCLUDE_ONLY
81 #endif // ! MLN_TEST_POSITIVE_HH