Class RiverTravelTest
java.lang.Object
topics.dynamic.river.RiverTravelTest
Validation Suite for River Travel (DP)
Ensures the algorithm correctly identifies cheaper multi-stop routes over direct travel routes in a Directed Acyclic Graph representation.
- Author:
- vicegd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidsetup()(package private) void(package private) void
-
Constructor Details
-
RiverTravelTest
RiverTravelTest()
-
-
Method Details
-
setup
@BeforeAll static void setup() -
shouldCalculateOptimalRoutesCase1
@Test @DisplayName("Should find optimal downstream routes (Case 1)") void shouldCalculateOptimalRoutesCase1() -
shouldCalculateOptimalRoutesCase2
@Test @DisplayName("Should find optimal downstream routes with heavier initial tariffs (Case 2)") void shouldCalculateOptimalRoutesCase2()
-