#include <catch2/extensions/HelperMacros.h> #include <alib/functional> TEST_CASE ( "Functional Test", "[unit][std][bits]" ) { SECTION ( "Less" ) { ext::less < > test; CHECK ( test ( 1, 2 ) == true ); CHECK ( test ( 1, 2. ) == true ); CHECK_EXCLUSIVE_OR( (test ( std::string ( "aa" ), 1 )), (test ( 1, std::string ( "aa" ) ) ) ); } }