commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Chou <hotfusion...@yahoo.com>
Subject [math] Re: cvs commit math/src/test/org/apache/commons/math/analysis InterpolatorTest.java
Date Mon, 16 Feb 2004 14:23:42 GMT
Phil,

I noticed that in testInterpolateLinearDegenerateThreeSegment() you didn't
insert a TODO comment when you deleted most of the body of the method (quoted
below)....


Al


--- psteitz@apache.org wrote:
> psteitz     2004/02/15 22:30:21
> 
>   Modified:    math/src/test/org/apache/commons/math/analysis
>                         InterpolatorTest.java RealSolverTest.java
>                math/src/test/org/apache/commons/math/stat
>                         DescriptiveStatisticsTest.java
>   Log:
>   Commented out sysouts.
>   
>   Revision  Changes    Path
>   1.11      +19 -52   
>
jakarta-commons/math/src/test/org/apache/commons/math/analysis/InterpolatorTest.java
>   
>   Index: InterpolatorTest.java
>   ===================================================================
>   RCS file:
>
/home/cvs/jakarta-commons/math/src/test/org/apache/commons/math/analysis/InterpolatorTest.java,v
>   retrieving revision 1.10
>   retrieving revision 1.11
>   diff -u -r1.10 -r1.11
>   --- InterpolatorTest.java	29 Jan 2004 16:48:49 -0000	1.10
>   +++ InterpolatorTest.java	16 Feb 2004 06:30:21 -0000	1.11
>   @@ -42,18 +42,19 @@
...
>        public void testInterpolateLinearDegenerateThreeSegment()
>            throws MathException {
>   -        System.out.println(" deg 3 seg");
>   +//       System.out.println(" deg 3 seg");
>            double xval[] = { 0.0, 0.5, 1.0, 1.5 };
>            double yval[] = { 0.0, 0.5, 1.0, 1.5 };
>            UnivariateRealInterpolator i = new SplineInterpolator();
>            UnivariateRealFunction f = i.interpolate(xval, yval);
>   -        double x;
>   -        x = 0.0;
>   -        System.out.println(
>   -            "x="
>   -                + x
>   -                + " y="
>   -                + f.value(x));
>   -
>   -        x = 0.5 - 1E-6;
>   -        System.out.println(
>   -            "x="
>   -                + x
>   -                + " y="
>   -                + f.value(x));
>   -
>   -        x = 0.5;
>   -        System.out.println(
>   -            "x="
>   -                + x
>   -                + " y="
>   -                + f.value(x));
>   -
>   -        x = 1 - 1E-6;
>   -        System.out.println(
>   -            "x="
>   -                + x
>   -                + " y="
>   -                + f.value(x));
>   -
>   -        x = 1;
>   -        System.out.println(
>   -            "x="
>   -                + x
>   -                + " y="
>   -                + f.value(x));
>   -
>   -        x = 1.5 - 1E-6;
>   -        System.out.println(
>   -            "x="
>   -                + x
>   -                + " y="
>   -                + f.value(x));
>    
>        }

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
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