33
44#include " xy_routing.h"
55
6- namespace {
7-
86/* *
97 * @brief Compares two vectors of NocLinks. These vectors represent
108 * two routes between a start and destination routers. This function
@@ -274,7 +272,7 @@ TEST_CASE("test_route_flow when it fails in a mesh topology.", "[vpr_noc_xy_rout
274272 // creating the XY routing object
275273 XYRouting routing_algorithm;
276274
277- SECTION (" Test case where the xy routing algorithm fails to find a horziontal link to traverse." ) {
275+ SECTION (" Test case where the xy routing algorithm fails to find a horizontal link to traverse." ) {
278276 /*
279277 * The route we will test will be starting at router 3 and end at
280278 * router 0. We will delete the link connecting router 2 to router 1.
@@ -338,7 +336,7 @@ TEST_CASE("test_route_flow when it fails in a non mesh topology.", "[vpr_noc_xy_
338336 * just pinpong between routers 0 and 3.
339337 *
340338 * The purpose of this test case is to make sure that this situation is
341- * appropristely handled through an error.
339+ * appropriately handled through an error.
342340 *
343341 * This is a map of what the NoC looks like, where the numbers indicate the NoC router id.
344342 *
@@ -379,6 +377,4 @@ TEST_CASE("test_route_flow when it fails in a non mesh topology.", "[vpr_noc_xy_
379377 // now use the XY router to find a route. We expect this to fail to check that.
380378 REQUIRE_THROWS_WITH (routing_algorithm.route_flow (start_router_id, sink_router_id, traffic_flow_id, found_path, noc_model),
381379 " No route could be found from starting router with ID:'3' and the destination router with ID:'1' using the XY-Routing algorithm." );
382- }
383-
384- } // namespace
380+ }
0 commit comments