Removed unused variables.
This commit is contained in:
parent
ee504b64af
commit
09c2b5fff3
|
@ -117,7 +117,6 @@ public class NormalDistributionTest extends RealDistributionAbstractTest {
|
||||||
double x = -10;
|
double x = -10;
|
||||||
double expected = 7.61985e-24;
|
double expected = 7.61985e-24;
|
||||||
double v = dist.cumulativeProbability(x);
|
double v = dist.cumulativeProbability(x);
|
||||||
double tol = 1e-5;
|
|
||||||
Assert.assertEquals(1, v / expected, 1e-5);
|
Assert.assertEquals(1, v / expected, 1e-5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -220,10 +220,7 @@ public class IntegerSequenceTest {
|
||||||
@Test(expected=ZeroException.class)
|
@Test(expected=ZeroException.class)
|
||||||
public void testIncrementZeroStep() {
|
public void testIncrementZeroStep() {
|
||||||
final int step = 0;
|
final int step = 0;
|
||||||
|
IntegerSequence.Incrementor.create().withIncrement(step);
|
||||||
final IntegerSequence.Incrementor inc
|
|
||||||
= IntegerSequence.Incrementor.create()
|
|
||||||
.withIncrement(step);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue