Commit 37527191 authored by Julien Michel's avatar Julien Michel

TEST: Use static number of inputs in tests

parent 1c18762d
...@@ -101,6 +101,7 @@ template <typename T> struct TypesCheck ...@@ -101,6 +101,7 @@ template <typename T> struct TypesCheck
auto filter = NewFunctorFilter(functor); auto filter = NewFunctorFilter(functor);
using FilterType = typename decltype(filter)::ObjectType; using FilterType = typename decltype(filter)::ObjectType;
static_assert(FilterType::NumberOfInputs == 1,"");
static_assert(std::is_same<typename FilterType::template InputImageType<0>, InputImageType>::value, ""); static_assert(std::is_same<typename FilterType::template InputImageType<0>, InputImageType>::value, "");
filter->SetVInputs(in); filter->SetVInputs(in);
......
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