You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2009/05/24 18:22:19 UTC
svn commit: r778184 -
/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/SpearmansRankCorrelationTest.java
Author: luc
Date: Sun May 24 16:22:19 2009
New Revision: 778184
URL: http://svn.apache.org/viewvc?rev=778184&view=rev
Log:
added missing @Override
Modified:
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/SpearmansRankCorrelationTest.java
Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/SpearmansRankCorrelationTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/SpearmansRankCorrelationTest.java?rev=778184&r1=778183&r2=778184&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/SpearmansRankCorrelationTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/SpearmansRankCorrelationTest.java Sun May 24 16:22:19 2009
@@ -28,10 +28,12 @@
*/
public class SpearmansRankCorrelationTest extends PearsonsCorrelationTest {
+ @Override
protected void setUp() throws Exception {
super.setUp();
}
+ @Override
protected void tearDown() throws Exception {
super.tearDown();
}
@@ -39,6 +41,7 @@
/**
* Test Longley dataset against R.
*/
+ @Override
public void testLongly() throws Exception {
RealMatrix matrix = createRealMatrix(longleyData, 16, 7);
SpearmansCorrelation corrInstance = new SpearmansCorrelation(matrix);
@@ -76,6 +79,7 @@
/**
* Constant column
*/
+ @Override
public void testConstant() {
double[] noVariance = new double[] {1, 1, 1, 1};
double[] values = new double[] {1, 2, 3, 4};
@@ -85,6 +89,7 @@
/**
* Insufficient data
*/
+ @Override
public void testInsufficientData() {
double[] one = new double[] {1};
double[] two = new double[] {2};
@@ -103,6 +108,7 @@
}
}
+ @Override
public void testConsistency() {
RealMatrix matrix = createRealMatrix(longleyData, 16, 7);
SpearmansCorrelation corrInstance = new SpearmansCorrelation(matrix);
@@ -116,7 +122,9 @@
}
// Not relevant here
+ @Override
public void testStdErrorConsistency() throws Exception {}
+ @Override
public void testCovarianceConsistency() throws Exception {}
}