Class IntegrationTest

java.lang.Object
ffx.utilities.FFXTest
ffx.numerics.integrate.IntegrationTest

public class IntegrationTest extends FFXTest
The IntegrationTest is a JUnit test for the Integration program that ensures that the integrals are calculated correctly. This test is run using known integrals calculated with the equation:

y = 10 sin(6x) - 7 cos(5x) + 11 sin(8x).

Author:
Claire O'Connell
  • Constructor Details

    • IntegrationTest

      public IntegrationTest()
  • Method Details

    • integrationTest

      public void integrationTest()
      Compares the calculated integrals with the known values.
    • setUp

      public void setUp()
      Initializes the array before testing.