From fc4c93b299937dbf4e1428a1412ef9007858f353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana=20G=C3=B3mez?= Date: Sat, 23 Nov 2024 19:07:35 +0100 Subject: [PATCH] Fix Mst test --- tests/TestMST.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestMST.cc b/tests/TestMST.cc index d20e365..a745d55 100644 --- a/tests/TestMST.cc +++ b/tests/TestMST.cc @@ -48,7 +48,7 @@ TEST_CASE("MST::reorder tests", "[MST]") } SECTION("Reorder with disconnected graph") { - std::vector>> T = { {2.0, {1, 2}}, {1.0, {0, 1}} }; + std::vector>> T = { {2.0, {2, 3}}, {1.0, {0, 1}} }; auto result = mst.reorder(T, 0); REQUIRE(result == std::vector>{{0, 1}, { 2, 3 }}); }