commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1500487 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/FrequencyTest.java
Date Sun, 07 Jul 2013 17:14:46 GMT
Author: sebb
Date: Sun Jul  7 17:14:46 2013
New Revision: 1500487

URL: http://svn.apache.org/r1500487
Log:
Oops - accidentally committed test for new method that's not yet added

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/FrequencyTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/FrequencyTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/FrequencyTest.java?rev=1500487&r1=1500486&r2=1500487&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/FrequencyTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/stat/FrequencyTest.java
Sun Jul  7 17:14:46 2013
@@ -333,18 +333,18 @@ public final class FrequencyTest {
         Assert.assertEquals(1, f.getCount(threeI));        
     }
     
-    @Test
-    public void testMode() {
-        Assert.assertEquals(0, f.getMode().size());
-        f.addValue("1");
-        Assert.assertEquals(1, f.getMode().size());
-        f.addValue("2");
-        Assert.assertEquals(2, f.getMode().size());
-        Assert.assertTrue(f.getMode().contains("1"));
-        Assert.assertTrue(f.getMode().contains("2"));
-        f.addValue("2");
-        Assert.assertEquals(1, f.getMode().size());
-        Assert.assertFalse(f.getMode().contains("1"));
-        Assert.assertTrue(f.getMode().contains("2"));
-    }
+//    @Test
+//    public void testMode() {
+//        Assert.assertEquals(0, f.getMode().size());
+//        f.addValue("1");
+//        Assert.assertEquals(1, f.getMode().size());
+//        f.addValue("2");
+//        Assert.assertEquals(2, f.getMode().size());
+//        Assert.assertTrue(f.getMode().contains("1"));
+//        Assert.assertTrue(f.getMode().contains("2"));
+//        f.addValue("2");
+//        Assert.assertEquals(1, f.getMode().size());
+//        Assert.assertFalse(f.getMode().contains("1"));
+//        Assert.assertTrue(f.getMode().contains("2"));
+//    }
 }



Mime
View raw message