mirror of
https://github.com/boostorg/hof.git
synced 2026-01-20 16:42:14 +00:00
9 lines
276 B
C++
9 lines
276 B
C++
#include <fit/indirect.hpp>
|
|
#include "test.hpp"
|
|
|
|
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));
|
|
}
|