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:
Sebastian Bazley 2013-07-18 14:06:23 +00:00
parent 4c9ce8b719
commit d4aa5c6037
1 changed files with 1 additions and 1 deletions

View File

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