mirror of
https://github.com/boostorg/hof.git
synced 2026-02-01 20:42:14 +00:00
12 lines
253 B
C++
12 lines
253 B
C++
#include <fit/always.h>
|
|
#include <memory>
|
|
#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 );
|
|
}
|
|
|