Class FloydWarshallTest

java.lang.Object
topics.dynamic.floyd.FloydWarshallTest

@DisplayName("Floyd-Warshall (All-Pairs Shortest Path)") class FloydWarshallTest extends Object

Validation Suite for Floyd-Warshall

Validates the correctness of the minimum cost calculation and path reconstruction.

Author:
vicegd
  • Constructor Details

    • FloydWarshallTest

      FloydWarshallTest()
  • Method Details

    • shouldCalculateMinCostWithNegativeEdges

      @Test @DisplayName("Should correctly calculate minimum costs in a graph with negative edges") void shouldCalculateMinCostWithNegativeEdges()