Commit 21002d40 authored by Michaël Roynard's avatar Michaël Roynard
Browse files

ndimage models outputimage

parent 5643b06f
Pipeline #12437 passed with stages
in 14 minutes and 17 seconds
......@@ -35,23 +35,17 @@ TEST(Core, Image_Image3D)
}
#ifdef PYLENE_CONCEPT_TS_ENABLED
template <concepts::detail::WritableImage Ima>
void foo(Ima)
{
}
template <concepts::Pixel Pix>
void bar(Pix)
{
}
#endif // PYLENE_CONCEPT_TS_ENABLED
TEST(Core, Image_OutputImage2D)
{
#ifdef PYLENE_CONCEPT_TS_ENABLED
static_assert(concepts::OutputImage<mln::image2d<int>>);
#endif // PYLENE_CONCEPT_TS_ENABLED
}
foo(mln::image2d<int>{});
// static_assert(concepts::OutputImage<mln::image2d<int>>);
TEST(Core, Image_OutputImage3D)
{
#ifdef PYLENE_CONCEPT_TS_ENABLED
static_assert(concepts::OutputImage<mln::image3d<int>>);
#endif // PYLENE_CONCEPT_TS_ENABLED
}
Supports Markdown
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