Class BubbleTest

java.lang.Object
topics.sorting.bubble.BubbleTest

class BubbleTest extends Object

Validation Suite for Bubble Sort

Verifies the mathematical correctness and in-place stability of the Bubble Sort implementation across different array configurations.

Author:
vicegd
  • Constructor Details

    • BubbleTest

      BubbleTest()
  • 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.