Class DirectSelectionTest

java.lang.Object
topics.sorting.selection.DirectSelectionTest

class DirectSelectionTest extends Object

Validation Suite for Direct Selection Sort

Verifies the absolute minimum selection logic and in-place sorting capabilities of the Direct Selection algorithm using JUnit 5.

Author:
vicegd
  • Constructor Details

    • DirectSelectionTest

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