Class RecursiveActionSquareTest

java.lang.Object
topics.parallel.square.RecursiveActionSquareTest

class RecursiveActionSquareTest extends Object

Validation Suite for Parallel Squaring

Verifies the mathematical truth and side-effect consistency of in-place parallel array transformations using JUnit 5.

Author:
vicegd
  • Constructor Details

    • RecursiveActionSquareTest

      RecursiveActionSquareTest()
  • Method Details

    • setup

      @BeforeAll static void setup()
      Provisions resources and generates raw mock sequences prior to evaluation.
    • teardown

      @AfterAll static void teardown()
      Disposes of operational hardware thread pools to guarantee clean environment teardown.
    • shouldComputeSquaresInParallelCorrectly

      @Test void shouldComputeSquaresInParallelCorrectly()

      Scenario: Processing an array of 1,000 integers through Fork/Join decomposition.

      Expected Outcome: Every discrete index must exactly match the square of its original value.