Class IntegrationTest

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

public class IntegrationTest extends ffx.utilities.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
  • Field Summary

    Fields inherited from class ffx.utilities.FFXTest

    ffxCI, ffxOpenMM, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Compares the calculated integrals with the known values.
    void
    Initializes the array before testing.

    Methods inherited from class ffx.utilities.FFXTest

    afterClass, afterTest, beforeClass, beforeTest, registerTemporaryDirectory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.