示例#1
0
 @Test(expectedExceptions = IllegalArgumentException.class)
 public void checkGetAdjustedEpsilonException() {
   EpsilonFromK.getAdjustedEpsilon(1);
 }
示例#2
0
 @Test
 public void checkGetAdjustedEpsilon() {
   double eps = EpsilonFromK.getAdjustedEpsilon(227);
   assertEquals(eps, .01, .005);
 }