Commit a0a92d53 authored by Edwin Carlinet's avatar Edwin Carlinet
Browse files

Enable "fixme" test in filter view.

parent 3bd86500
......@@ -57,7 +57,7 @@ namespace mln
auto begin() const { return ::ranges::begin(m_rng); }
auto end() const { return ::ranges::end(m_rng); }
bool has(point_type p) const { return m_fun(p); }
bool has(point_type p) const { return m_dom.has(p) && m_fun(p); }
bool empty() const { return ::ranges::empty(m_rng); }
};
/// \}
......
......@@ -106,8 +106,7 @@ TEST(View, filter_twice)
else
{
ASSERT_EQ(pix.val(), u.at(pix.point()));
// FIXME:
// ASSERT_TRUE(!u.domain().has(pix.point()));
ASSERT_FALSE(u.domain().has(pix.point()));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment