mirror of
https://github.com/boostorg/hof.git
synced 2026-02-01 08:32:12 +00:00
9 lines
259 B
C++
9 lines
259 B
C++
#include <fit/apply_eval.h>
|
|
#include "test.h"
|
|
|
|
FIT_TEST_CASE()
|
|
{
|
|
FIT_STATIC_TEST_CHECK(fit::apply_eval(binary_class(), fit::always(1), fit::always(2)) == 3);
|
|
FIT_TEST_CHECK(fit::apply_eval(binary_class(), []{ return 1; }, []{ return 2;}) == 3);
|
|
}
|