Package ffx.numerics.integrate
Class IntegrationTest
java.lang.Object
ffx.utilities.FFXTest
ffx.numerics.integrate.IntegrationTest
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Compares the calculated integrals with the known values.void
setUp()
Initializes the array before testing.Methods inherited from class ffx.utilities.FFXTest
afterClass, afterTest, beforeClass, beforeTest, registerTemporaryDirectory
-
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.
-