2
0
mirror of https://github.com/boostorg/hof.git synced 2026-02-01 20:42:14 +00:00
Files
hof/test/at.cpp
2015-06-21 20:16:22 -04:00

10 lines
253 B
C++

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