Add temp debug output
This commit is contained in:
parent
0c1e6fb256
commit
b8e9475505
|
@ -551,9 +551,13 @@ public final class SimpleRegressionTest {
|
||||||
@Test
|
@Test
|
||||||
public void testPerfect2() {
|
public void testPerfect2() {
|
||||||
SimpleRegression regression = new SimpleRegression();
|
SimpleRegression regression = new SimpleRegression();
|
||||||
|
System.out.println("getXSumSquares()=" + regression.getXSumSquares()); // TODO temp check to see why Jenkins H10 is failing
|
||||||
regression.addData(0, 0);
|
regression.addData(0, 0);
|
||||||
|
System.out.println("getXSumSquares()=" + regression.getXSumSquares()); // TODO temp check to see why Jenkins H10 is failing
|
||||||
regression.addData(1, 1);
|
regression.addData(1, 1);
|
||||||
|
System.out.println("getXSumSquares()=" + regression.getXSumSquares()); // TODO temp check to see why Jenkins H10 is failing
|
||||||
regression.addData(2, 2);
|
regression.addData(2, 2);
|
||||||
|
System.out.println("getXSumSquares()=" + regression.getXSumSquares()); // TODO temp check to see why Jenkins H10 is failing
|
||||||
Assert.assertEquals(0.0, regression.getSlopeStdErr(), 0.0);
|
Assert.assertEquals(0.0, regression.getSlopeStdErr(), 0.0);
|
||||||
Assert.assertEquals(0.0, regression.getSignificance(), Double.MIN_VALUE);
|
Assert.assertEquals(0.0, regression.getSignificance(), Double.MIN_VALUE);
|
||||||
Assert.assertEquals(1, regression.getRSquare(), Double.MIN_VALUE);
|
Assert.assertEquals(1, regression.getRSquare(), Double.MIN_VALUE);
|
||||||
|
|
Loading…
Reference in New Issue