36 #include <ringmesh/ringmesh_tests_config.h> 67 virtual ~
Base() =
default;
70 Base(
A& a,
B& b ) : a_( a ), b_( b )
87 void verdict(
bool is_instantiated, std::string name )
89 if( !is_instantiated )
92 "TEST",
"Failed to instantiate the ", name,
" class" );
106 factory::register_creator< Derived >(
"Derived" );
110 auto d = factory::create(
"Derived", a, b );
111 verdict( d !=
nullptr,
"Derived" );
118 catch(
const std::exception& e )
void verdict(bool is_instantiated, std::string name)
static void err(const std::string &feature, const Args &... args)
static void out(const std::string &feature, const Args &... args)
#define ringmesh_disable_copy(Class)
const std::string & category() const
Classes to build GeoModel from various inputs.
void RINGMESH_API default_configure()