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