#include "2CL.hpp" #include struct test_003{ test_003() { auto fn = cl::curry( [](int a,int b)->int{return a+b;}, 11 ); assert(fn(1)()==12); } }; test_003 run_003; struct test_004{ test_004() { using namespace cl; auto fn = function([](int a, int b)->int{return a+b;}); assert(fn(2)(7)()==9); } }; test_004 run_004;