示例#1
0
 @Test
 public void testOneWayAnovaUtils() {
   classes.add(classA);
   classes.add(classB);
   classes.add(classC);
   Assert.assertEquals(
       oneWayAnova.anovaFValue(classes), TestUtils.oneWayAnovaFValue(classes), 10E-12);
   Assert.assertEquals(
       oneWayAnova.anovaPValue(classes), TestUtils.oneWayAnovaPValue(classes), 10E-12);
   Assert.assertEquals(
       oneWayAnova.anovaTest(classes, 0.01), TestUtils.oneWayAnovaTest(classes, 0.01));
 }