2
0
mirror of https://github.com/boostorg/hof.git synced 2026-01-23 05:32:13 +00:00
Files
hof/test/indirect.cpp
2014-12-16 11:15:23 -06:00

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