Class BidirectionalBubbleTest
java.lang.Object
topics.sorting.bubble.BidirectionalBubbleTest
Validation Suite for Bidirectional Bubble Sort
Verifies the alternating forward and backward sweeps, ensuring the mathematical accuracy and in-place stability of the algorithm.
- Author:
- vicegd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidsetup()(package private) voidScenario: Larger array with wider numerical variance.(package private) voidScenario: Small array with mixed inversions.
-
Constructor Details
-
BidirectionalBubbleTest
BidirectionalBubbleTest()
-
-
Method Details
-
setup
@BeforeAll static void setup() -
shouldSortSmallMixedSequence
@Test void shouldSortSmallMixedSequence()Scenario: Small array with mixed inversions.
-
shouldSortLargerVariedSequence
@Test void shouldSortLargerVariedSequence()Scenario: Larger array with wider numerical variance.
-