mirror of
https://github.com/boostorg/hof.git
synced 2026-01-23 05:32:13 +00:00
9 lines
272 B
C++
9 lines
272 B
C++
#include <fit/indirect.h>
|
|
#include "test.h"
|
|
|
|
FIT_TEST_CASE()
|
|
{
|
|
FIT_TEST_CHECK(3 == fit::indirect(std::unique_ptr<binary_class>(new binary_class()))(1, 2));
|
|
FIT_TEST_CHECK(3 == fit::reveal(fit::indirect(std::unique_ptr<binary_class>(new binary_class())))(1, 2));
|
|
}
|