Skip to content

Commit aa08a8e

Browse files
committed
fix(OG-inspector): renaming constexpr variables with uppercase names
1 parent 6697530 commit aa08a8e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/inspector/test-brep.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ geode::index_t launch_component_meshes_validity_checks(
303303
void check_model_a1( bool string )
304304
{
305305
const auto model_brep = geode::load_brep(
306-
absl::StrCat( geode::data_path, "model_A1.og_brep" ) );
306+
absl::StrCat( geode::DATA_PATH, "model_A1.og_brep" ) );
307307
const geode::BRepInspector brep_inspector{ model_brep };
308308
const auto result = brep_inspector.inspect_brep();
309309

@@ -325,7 +325,7 @@ void check_model_a1( bool string )
325325
void check_model_a1_valid( bool string )
326326
{
327327
const auto model_brep = geode::load_brep(
328-
absl::StrCat( geode::data_path, "model_A1_valid.og_brep" ) );
328+
absl::StrCat( geode::DATA_PATH, "model_A1_valid.og_brep" ) );
329329
const geode::BRepInspector brep_inspector{ model_brep };
330330
const auto result = brep_inspector.inspect_brep();
331331

@@ -348,7 +348,7 @@ void check_model_a1_valid( bool string )
348348
void check_model_mss( bool string )
349349
{
350350
const auto model_brep =
351-
geode::load_brep( absl::StrCat( geode::data_path, "mss.og_brep" ) );
351+
geode::load_brep( absl::StrCat( geode::DATA_PATH, "mss.og_brep" ) );
352352
const geode::BRepInspector brep_inspector{ model_brep };
353353
const auto result = brep_inspector.inspect_brep();
354354

@@ -369,7 +369,7 @@ void check_model_mss( bool string )
369369
void check_model_D( bool string )
370370
{
371371
const auto model_brep =
372-
geode::load_brep( absl::StrCat( geode::data_path, "model_D.og_brep" ) );
372+
geode::load_brep( absl::StrCat( geode::DATA_PATH, "model_D.og_brep" ) );
373373
const geode::BRepInspector brep_inspector{ model_brep };
374374
const auto result = brep_inspector.inspect_brep();
375375

tests/inspector/test-section.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ geode::index_t launch_component_meshes_validity_checks(
258258
void check_section( bool string )
259259
{
260260
const auto model_section = geode::load_section(
261-
absl::StrCat( geode::data_path, "vertical_lines.og_sctn" ) );
261+
absl::StrCat( geode::DATA_PATH, "vertical_lines.og_sctn" ) );
262262
geode::SectionInspector section_inspector{ model_section };
263263
auto result = section_inspector.inspect_section();
264264

tests/tests_config.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
namespace geode
2929
{
3030
/* Absolute path to test source directory */
31-
static constexpr auto data_path = "@DATA_DIRECTORY@/";
31+
static constexpr auto DATA_PATH = "@DATA_DIRECTORY@/";
3232
} // namespace geode

0 commit comments

Comments
 (0)