Removed unused variables.

This commit is contained in:
Luc Maisonobe 2015-12-25 15:08:10 +01:00
parent ee504b64af
commit 09c2b5fff3
2 changed files with 1 additions and 5 deletions

View File

@ -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);
} }

View File

@ -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