36 #include <ringmesh/ringmesh_tests_config.h> 52 std::string input_model_file_name =
53 ringmesh_test_data_path +
"sketch_conform.svg";
55 Logger::out(
"TEST",
"Geomodel input test. Loading file ",
56 input_model_file_name );
60 in, input_model_file_name );
68 std::string output_model_file_name( ringmesh_test_output_path );
69 output_model_file_name += in.name() +
"_saved_out.gm";
74 in2, output_model_file_name );
82 std::string output_model_file_name_bis( ringmesh_test_output_path );
83 output_model_file_name_bis += in.name() +
"_saved_out_bis.gm";
87 output_model_file_name, output_model_file_name_bis ) )
97 catch(
const std::exception& e )
bool geomodel_load(GeoModel< DIMENSION > &geomodel, const std::string &filename)
static void err(const std::string &feature, const Args &... args)
static void out(const std::string &feature, const Args &... args)
void geomodel_save(const GeoModel< DIMENSION > &geomodel, const std::string &filename)
const std::string & category() const
bool RINGMESH_API compare_files(const std::string &f1, const std::string &f2)
Classes to build GeoModel from various inputs.
void RINGMESH_API default_configure()