MCPcopy Create free account
hub / github.com/PowerGridModel/power-grid-model / check_equal

Function check_equal

tests/cpp_unit_tests/test_topology.cpp:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114namespace {
115
116template <grouped_idx_vector_type T> void check_equal(T const& first, T const& second) {
117 REQUIRE(first.size() == second.size());
118 for ([[maybe_unused]] auto const& [index, first_element, second_element] : enumerated_zip_sequence(first, second)) {
119 CHECK(std::ranges::equal(first_element, second_element));
120 }
121}
122
123} // namespace
124

Callers 1

test_topology.cppFile · 0.70

Calls 2

enumerated_zip_sequenceFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected