2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-23 17:42:40 +00:00
Files
hof/test/args.cpp

15 lines
399 B
C++

#include <fit/args.h>
#include <type_traits>
#include "test.h"
// FIT_TEST_CASE()
// {
// FIT_STATIC_TEST_CHECK(fit::args<3>(1,2,3,4,5) == 3);
// FIT_TEST_CHECK( fit::args<3>(1,2,3,4,5) == 3 );
// }
FIT_TEST_CASE()
{
FIT_STATIC_TEST_CHECK(fit::args(std::integral_constant<int, 3>())(1,2,3,4,5) == 3);
FIT_TEST_CHECK( fit::args(std::integral_constant<int, 3>())(1,2,3,4,5) == 3 );
}