commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r778184 - /commons/proper/math/trunk/src/test/org/apache/commons/math/stat/correlation/SpearmansRankCorrelationTest.java
Date Sun, 24 May 2009 16:22:19 GMT
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 {}
      
 }



Mime
View raw message