Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
pylene
Commits
dca10c3c
Commit
dca10c3c
authored
Feb 04, 2019
by
Michaël Roynard
Browse files
Fix unit test
parent
7be1c7e2
Pipeline
#12903
failed with stages
in 6 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/core/image/view/filter.cpp
View file @
dca10c3c
...
...
@@ -94,7 +94,7 @@ TEST(View, filter_twice)
static_assert
(
not
concepts
::
RawImage
<
decltype
(
u
)
>
);
#endif // PYLENE_CONCEPT_TS_ENABLED
ASSERT_TRUE
(
mln
::
experimental
::
all
(
land
(
u
>
10
,
u
<
15
)));
ASSERT_TRUE
(
mln
::
experimental
::
all
_of
(
land
(
u
>
10
,
u
<
15
)));
mln_foreach_new
(
auto
&&
pix
,
ima
.
new_pixels
())
{
...
...
@@ -103,7 +103,8 @@ TEST(View, filter_twice)
else
ASSERT_EQ
(
pix
.
val
(),
u
.
at
(
pix
.
point
()));
ASSERT_TRUE
(
!
u
.
domain
().
has
(
pix
.
point
()));
// FIXME:
// ASSERT_TRUE(!u.domain().has(pix.point()));
}
...
...
@@ -127,3 +128,5 @@ TEST(View, filter_twice)
mln_foreach_new
(
auto
&&
px
,
u
.
new_pixels
())
ASSERT_EQ
(
px
.
val
(),
ima
(
px
.
point
()));
}
// TODO: check archetypes
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment