@@ -391,6 +391,8 @@ TEST_CASE_TEMPLATE_DEFINE(
391391
392392 SUBCASE (" bind, unbind and are_incident should throw if either of the fiven elements is invalid"
393393 ) {
394+ GL_SUPPRESS_WARNING_BEGIN (" -Warray-bounds" );
395+
394396 sut_type sut{constants::n_vertices, constants::n_hyperedges};
395397
396398 if constexpr (std::same_as<directional_tag, hgl::undirected_t >) {
@@ -474,6 +476,8 @@ TEST_CASE_TEMPLATE_DEFINE(
474476 std::out_of_range
475477 );
476478 }
479+
480+ GL_SUPPRESS_WARNING_END;
477481 }
478482
479483 SUBCASE (" are_incident should return false by default" ) {
@@ -944,6 +948,12 @@ TEST_CASE_TEMPLATE_INSTANTIATE(
944948 hgl::matrix_hypergraph_traits<
945949 hgl::impl::vertex_major_t ,
946950 hgl::undirected_t >, // undirected vertex-major incidence matrix
951+ hgl::flat_matrix_hypergraph_traits<
952+ hgl::impl::hyperedge_major_t ,
953+ hgl::undirected_t >, // undirected hyperedge-major flat incidence matrix
954+ hgl::flat_matrix_hypergraph_traits<
955+ hgl::impl::vertex_major_t ,
956+ hgl::undirected_t >, // undirected vertex-major flat incidence matrix
947957 hgl::list_hypergraph_traits<
948958 hgl::impl::bidirectional_t ,
949959 hgl::bf_directed_t >, // bf-directed bidirectional incidence list
@@ -967,7 +977,13 @@ TEST_CASE_TEMPLATE_INSTANTIATE(
967977 hgl::bf_directed_t >, // bf-directed hyperedge-major incidence matrix
968978 hgl::matrix_hypergraph_traits<
969979 hgl::impl::vertex_major_t ,
970- hgl::bf_directed_t > // bf-directed vertex-major incidence matrix
980+ hgl::bf_directed_t >, // bf-directed vertex-major incidence matrix
981+ hgl::flat_matrix_hypergraph_traits<
982+ hgl::impl::hyperedge_major_t ,
983+ hgl::bf_directed_t >, // bf-directed hyperedge-major flat incidence matrix
984+ hgl::flat_matrix_hypergraph_traits<
985+ hgl::impl::vertex_major_t ,
986+ hgl::bf_directed_t > // bf-directed vertex-major flat incidence matrix
971987);
972988
973989TEST_CASE_TEMPLATE_DEFINE (
@@ -1129,7 +1145,17 @@ TEST_CASE_TEMPLATE_INSTANTIATE(
11291145 hgl::impl::vertex_major_t ,
11301146 hgl::undirected_t ,
11311147 hgl::name_property,
1132- hgl::name_property> // undirected vertex-major incidence matrix
1148+ hgl::name_property>, // undirected vertex-major incidence matrix
1149+ hgl::flat_matrix_hypergraph_traits<
1150+ hgl::impl::hyperedge_major_t ,
1151+ hgl::undirected_t ,
1152+ hgl::name_property,
1153+ hgl::name_property>, // undirected hyperedge-major flat incidence matrix
1154+ hgl::flat_matrix_hypergraph_traits<
1155+ hgl::impl::vertex_major_t ,
1156+ hgl::undirected_t ,
1157+ hgl::name_property,
1158+ hgl::name_property> // undirected vertex-major flat incidence matrix
11331159);
11341160
11351161TEST_CASE_TEMPLATE_DEFINE (
@@ -1365,7 +1391,17 @@ TEST_CASE_TEMPLATE_INSTANTIATE(
13651391 hgl::impl::vertex_major_t ,
13661392 hgl::bf_directed_t ,
13671393 hgl::name_property,
1368- hgl::name_property> // bf-directed vertex-major incidence matrix
1394+ hgl::name_property>, // bf-directed vertex-major incidence matrix
1395+ hgl::flat_matrix_hypergraph_traits<
1396+ hgl::impl::hyperedge_major_t ,
1397+ hgl::bf_directed_t ,
1398+ hgl::name_property,
1399+ hgl::name_property>, // bf-directed hyperedge-major flat incidence matrix
1400+ hgl::flat_matrix_hypergraph_traits<
1401+ hgl::impl::vertex_major_t ,
1402+ hgl::bf_directed_t ,
1403+ hgl::name_property,
1404+ hgl::name_property> // bf-directed vertex-major flat incidence matrix
13691405);
13701406
13711407TEST_CASE_TEMPLATE_DEFINE (
@@ -1566,6 +1602,12 @@ TEST_CASE_TEMPLATE_INSTANTIATE(
15661602 hgl::matrix_hypergraph_traits<
15671603 hgl::impl::vertex_major_t ,
15681604 hgl::undirected_t >, // undirected vertex-major incidence matrix
1605+ hgl::flat_matrix_hypergraph_traits<
1606+ hgl::impl::hyperedge_major_t ,
1607+ hgl::undirected_t >, // undirected hyperedge-major flat incidence matrix
1608+ hgl::flat_matrix_hypergraph_traits<
1609+ hgl::impl::vertex_major_t ,
1610+ hgl::undirected_t >, // undirected vertex-major flat incidence matrix
15691611 hgl::list_hypergraph_traits<
15701612 hgl::impl::bidirectional_t ,
15711613 hgl::bf_directed_t >, // bf-directed bidirectional incidence list
@@ -1589,7 +1631,13 @@ TEST_CASE_TEMPLATE_INSTANTIATE(
15891631 hgl::bf_directed_t >, // bf-directed hyperedge-major incidence matrix
15901632 hgl::matrix_hypergraph_traits<
15911633 hgl::impl::vertex_major_t ,
1592- hgl::bf_directed_t > // bf-directed vertex-major incidence matrix
1634+ hgl::bf_directed_t >, // bf-directed vertex-major incidence matrix
1635+ hgl::flat_matrix_hypergraph_traits<
1636+ hgl::impl::hyperedge_major_t ,
1637+ hgl::bf_directed_t >, // bf-directed hyperedge-major flat incidence matrix
1638+ hgl::flat_matrix_hypergraph_traits<
1639+ hgl::impl::vertex_major_t ,
1640+ hgl::bf_directed_t > // bf-directed vertex-major flat incidence matrix
15931641);
15941642
15951643TEST_SUITE_END (); // test_hypergraph
0 commit comments