ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/SplittableRandomTest.java
(Generate patch)

Comparing jsr166/src/test/tck/SplittableRandomTest.java (file contents):
Revision 1.12 by jsr166, Tue Sep 24 18:41:32 2013 UTC vs.
Revision 1.13 by jsr166, Fri Sep 27 20:29:31 2013 UTC

# Line 130 | Line 130 | public class SplittableRandomTest extend
130      /**
131       * nextInt(non-positive) throws IllegalArgumentException
132       */
133 <    public void testNextIntNonPositive() {
133 >    public void testNextIntBoundNonPositive() {
134          SplittableRandom sr = new SplittableRandom();
135          Runnable[] throwingActions = {
136              () -> sr.nextInt(-17),
# Line 199 | Line 199 | public class SplittableRandomTest extend
199      /**
200       * nextLong(non-positive) throws IllegalArgumentException
201       */
202 <    public void testNextLongNonPositive() {
202 >    public void testNextLongBoundNonPositive() {
203          SplittableRandom sr = new SplittableRandom();
204          Runnable[] throwingActions = {
205              () -> sr.nextLong(-17L),
# Line 267 | Line 267 | public class SplittableRandomTest extend
267      /**
268       * nextDouble(non-positive) throws IllegalArgumentException
269       */
270 <    public void testNextDoubleNonPositive() {
270 >    public void testNextDoubleBoundNonPositive() {
271          SplittableRandom sr = new SplittableRandom();
272          Runnable[] throwingActions = {
273              () -> sr.nextDouble(-17.0d),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines