#include <catch2/catch.hpp> #include <alib/utility> namespace { class Foo { public: int bar ( ) { return 1; } }; } TEST_CASE ( "Utility", "[unit][std][bits]" ) { SECTION ( "Test Properties" ) { ext::ptr_value < Foo > val ( Foo { } ); CHECK ( val->bar ( ) == 1 ); } }