commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject cvs commit: jakarta-commons/math/src/test/org/apache/commons/math/distribution ContinuousDistributionAbstractTest.java
Date Sun, 30 May 2004 03:08:00 GMT
psteitz     2004/05/29 20:08:00

  Modified:    math/src/test/org/apache/commons/math/distribution
                        ContinuousDistributionAbstractTest.java
  Log:
  Fixed some typos, formatting.
  
  Revision  Changes    Path
  1.2       +18 -18    jakarta-commons/math/src/test/org/apache/commons/math/distribution/ContinuousDistributionAbstractTest.java
  
  Index: ContinuousDistributionAbstractTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/src/test/org/apache/commons/math/distribution/ContinuousDistributionAbstractTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ContinuousDistributionAbstractTest.java	29 May 2004 22:51:32 -0000	1.1
  +++ ContinuousDistributionAbstractTest.java	30 May 2004 03:08:00 -0000	1.2
  @@ -22,28 +22,28 @@
    * Abstract base class for {@link ContinuousDistribution} tests.
    * <p>
    * To create a concrete test class for a continuous distribution implementation,
  - *  implement makeDistribution() to return a distribution instance to use in 
  - *  tests and each of the test data generation methods below.  In each case, the
  - *  test points and test values arrays returned represent parallel arrays of 
  - *  inputs and expected values for the distribution returned by makeDistribution().
  + * implement makeDistribution() to return a distribution instance to use in 
  + * tests and each of the test data generation methods below.  In each case, the
  + * test points and test values arrays returned represent parallel arrays of 
  + * inputs and expected values for the distribution returned by makeDistribution().
    *  <p>
  - *  makeCumulativeTestPoints() -- arguments used to test cumulative probabilities
  - *  makeCumulativeTestValues() -- expected cumulative probabilites
  - *  makeInverseCumulativeTestPoints() -- arguments used to test inverse cdf evaluation
  - *  makeInverseCumulativeTestValues() -- expected inverse cdf values
  + * makeCumulativeTestPoints() -- arguments used to test cumulative probabilities
  + * makeCumulativeTestValues() -- expected cumulative probabilites
  + * makeInverseCumulativeTestPoints() -- arguments used to test inverse cdf evaluation
  + * makeInverseCumulativeTestValues() -- expected inverse cdf values
    * <p>
  - *  To implement additional test cases with different distribution instances and test data,
  - *  use the setXxx methods for the instance data in test cases and call the verifyXxx methods
  - *  to verify results. 
  + * To implement additional test cases with different distribution instances and test data,
  + * use the setXxx methods for the instance data in test cases and call the verifyXxx methods
  + * to verify results. 
    * <p>
  - *  Error tolerance can be overriden by implementing getTolerance().
  + * Error tolerance can be overriden by implementing getTolerance().
    * 
    * @version $Revision$ $Date$
    */
   public abstract class ContinuousDistributionAbstractTest extends TestCase {
       
   //-------------------- Private test instance data -------------------------
  -    /** Discrete distribution instance used to perform tests */
  +    /**  Distribution instance used to perform tests */
       private ContinuousDistribution distribution;
       
       /** Tolerance used in comparing expected and returned values */
  @@ -64,7 +64,7 @@
       //-------------------------------------------------------------------------
       
       /**
  -     * Constructor for DiscreteDistributionAbstractTest.
  +     * Constructor for ContinuousDistributionAbstractTest.
        * @param name
        */
       public ContinuousDistributionAbstractTest(String name) {
  @@ -136,7 +136,7 @@
       }
       
       /**
  -     * Verifies that inverse cumulative probability density calculations match exptected
values
  +     * Verifies that inverse cumulative probability density calculations match expected
values
        * using current test instance data
        */
       protected void verifyInverseCumulativeProbabilities() throws Exception {
  @@ -151,7 +151,7 @@
       //------------------------ Default test cases -----------------------------
       
       /**
  -     * Verifies that cumulative probability density calculations match exptected values
  +     * Verifies that cumulative probability density calculations match expected values
        * using default test instance data
        */
       public void testCumulativeProbabilities() throws Exception {
  @@ -159,7 +159,7 @@
       }
       
       /**
  -     * Verifies that inverse cumulative probability density calculations match exptected
values
  +     * Verifies that inverse cumulative probability density calculations match expected
values
        * using default test instance data
        */
       public void testInverseCumulativeProbabilities() throws Exception {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message