mirror of
https://github.com/boostorg/hof.git
synced 2026-02-01 08:32:12 +00:00
16 lines
306 B
C++
16 lines
306 B
C++
#include <fit/static.h>
|
|
#include "test.h"
|
|
|
|
fit::static_<binary_class> binary_static = {};
|
|
|
|
fit::static_<void_class> void_static = {};
|
|
|
|
fit::static_<mono_class> mono_static = {};
|
|
|
|
|
|
FIT_TEST_CASE()
|
|
{
|
|
void_static(1);
|
|
FIT_TEST_CHECK(3 == binary_static(1, 2));
|
|
FIT_TEST_CHECK(3 == mono_static(2));
|
|
} |