2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-20 16:42:14 +00:00
Files
hof/test/indirect.cpp
2016-01-17 23:16:02 -06:00

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));
}