11#include " doctest.h"
2- #include " testing/common/wrnsup.hpp"
32#include " testing/hgl/constants.hpp"
43#include " testing/hgl/types.hpp"
54
5+ #include < gl/attributes/diagnostics.hpp>
6+
67#include < hgl/directional_tags.hpp>
78#include < hgl/hypergraph.hpp>
89#include < hgl/hypergraph_traits.hpp>
@@ -524,7 +525,7 @@ TEST_CASE_TEMPLATE_DEFINE(
524525 }
525526
526527 SUBCASE (" incident_hyperedges and degree should throw if the given vertex (id) is invalid" ) {
527- SUPPRESS_WARNING_BEGIN (" -Warray-bounds" );
528+ GL_SUPPRESS_WARNING_BEGIN (" -Warray-bounds" );
528529
529530 sut_type sut{constants::n_vertices, constants::n_hyperedges};
530531 CHECK_THROWS_AS (
@@ -535,7 +536,7 @@ TEST_CASE_TEMPLATE_DEFINE(
535536 static_cast <void >(sut.degree (vertex_type{constants::out_of_rng_vid})), std::out_of_range
536537 );
537538
538- SUPPRESS_WARNING_END ;
539+ GL_SUPPRESS_WARNING_END ;
539540 }
540541
541542 SUBCASE (" incident_hyperedges should return an empty view by default and degree should return 0 "
@@ -656,7 +657,7 @@ TEST_CASE_TEMPLATE_DEFINE(
656657
657658 SUBCASE (" incident_vertices and hyperedge_size should throw if the given hyperedge (id) is "
658659 " invalid" ) {
659- SUPPRESS_WARNING_BEGIN (" -Warray-bounds" );
660+ GL_SUPPRESS_WARNING_BEGIN (" -Warray-bounds" );
660661
661662 sut_type sut{constants::n_vertices, constants::n_hyperedges};
662663 CHECK_THROWS_AS (
@@ -668,7 +669,7 @@ TEST_CASE_TEMPLATE_DEFINE(
668669 std::out_of_range
669670 );
670671
671- SUPPRESS_WARNING_END ;
672+ GL_SUPPRESS_WARNING_END ;
672673 }
673674
674675 SUBCASE (" incident_vertices should return an empty view by default and hyperedge_size should "
0 commit comments