#include #include "test.hpp" struct increment { template constexpr T operator()(T x) const { return x + 1; } }; FIT_TEST_CASE() { FIT_TEST_CHECK(fit::repeat(std::integral_constant())(increment())(1) == 6); FIT_STATIC_TEST_CHECK(fit::repeat(std::integral_constant())(increment())(1) == 6); }