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
Oops! I should have commented that block out, as I did the others and insert a todo. I will fix this evening. Sorry.
Phil
--- [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]