@@ -42,10 +42,11 @@ void test_csv_input()
4242 absl::StrCat ( geode::DATA_PATH , " top_granitoid_vertices.csv" );
4343 const auto additional_files =
4444 geode::point_set_additional_files< 3 >( filepath );
45- OPENGEODE_EXCEPTION ( additional_files.has_additional_files (),
45+ geode::OpenGeodeIOMeshException::test (
46+ additional_files.has_additional_files (),
4647 " [TEST: CSV input], Additional files should be present" );
4748 auto point_set = geode::load_point_set< 3 >( filepath );
48- OPENGEODE_EXCEPTION ( point_set->nb_vertices () == 103455 ,
49+ geode::OpenGeodeIOMeshException::test ( point_set->nb_vertices () == 103455 ,
4950 " [TEST: CSV input], "
5051 " The point set should have 103455 vertices found" ,
5152 point_set->nb_vertices () );
@@ -58,7 +59,8 @@ void test_csv_input_with_missing_json()
5859 absl::StrCat ( geode::DATA_PATH , " other_geological_pointset3d.csv" );
5960 const auto additional_files =
6061 geode::point_set_additional_files< 3 >( filepath );
61- OPENGEODE_EXCEPTION ( !additional_files.has_additional_files (),
62+ geode::OpenGeodeIOMeshException::test (
63+ !additional_files.has_additional_files (),
6264 " [TEST: CSV input], Additional files should be missing because of a "
6365 " missing keyword" );
6466}
@@ -69,7 +71,8 @@ void test_csv_input_with_missing_keyword()
6971 absl::StrCat ( geode::DATA_PATH , " mising_keyword.csv" );
7072 const auto additional_files =
7173 geode::point_set_additional_files< 3 >( filepath );
72- OPENGEODE_EXCEPTION ( !additional_files.has_additional_files (),
74+ geode::OpenGeodeIOMeshException::test (
75+ !additional_files.has_additional_files (),
7376 " [TEST: CSV input], Additional files should be missing because of a "
7477 " missing keyword" );
7578}
@@ -78,7 +81,7 @@ int main()
7881{
7982 try
8083 {
81- geode::IOMeshLibrary ::initialize ();
84+ geode::OpenGeodeIOMeshLibrary ::initialize ();
8285 geode::Logger::set_level ( geode::Logger::LEVEL ::trace );
8386 test_csv_input ();
8487 test_csv_input_with_missing_json ();
0 commit comments