Simplify and eliminate boxing warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1504482 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4c9ce8b719
commit
d4aa5c6037
|
@ -42,7 +42,7 @@ public class RandomAdaptorTest {
|
|||
byte[] bytes = new byte[] {0};
|
||||
random.nextBytes(bytes);
|
||||
Assert.assertEquals(0, bytes[0]);
|
||||
Assert.assertEquals(false, random.nextBoolean());
|
||||
Assert.assertFalse(random.nextBoolean());
|
||||
Assert.assertEquals(0, random.nextDouble(), 0);
|
||||
Assert.assertEquals(0, random.nextFloat(), 0);
|
||||
Assert.assertEquals(0, random.nextGaussian(), 0);
|
||||
|
|
Loading…
Reference in New Issue