mirror of
https://github.com/boostorg/hof.git
synced 2026-02-01 20:42:14 +00:00
9 lines
233 B
C++
9 lines
233 B
C++
#include <fit/always.h>
|
|
#include "test.h"
|
|
|
|
FIT_TEST_CASE()
|
|
{
|
|
static const int ten = 10;
|
|
static_assert(fit::always(ten)(1,2,3,4,5) == 10, "static always test failed");
|
|
FIT_TEST_CHECK( fit::always(ten)(1,2,3,4,5) == 10 );
|
|
} |