Class SquareRootTest

java.lang.Object
ffx.utilities.FFXTest
ffx.numerics.math.SquareRootTest

public class SquareRootTest extends ffx.utilities.FFXTest
Author:
Michael J. Schnieders
  • Field Summary

    Fields inherited from class ffx.utilities.FFXTest

    ffxCI, ffxOpenMM, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    SquareRootTest(String info, double x)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Collection<Object[]>
    The expected values are found using java.lang.Math.sqrt.
    void
    Test inverse sqrt method, of class InverseSqrt.
    void
    Test sqrt method, of class InverseSqrt.

    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

    • SquareRootTest

      public SquareRootTest(String info, double x)
  • Method Details

    • data

      public static Collection<Object[]> data()
      The expected values are found using java.lang.Math.sqrt.
    • testInverseSqrt

      public void testInverseSqrt()
      Test inverse sqrt method, of class InverseSqrt.
    • testSqrt

      public void testSqrt()
      Test sqrt method, of class InverseSqrt.