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.13 by jsr166, Fri Sep 27 20:29:31 2013 UTC vs.
Revision 1.15 by jsr166, Wed Dec 31 16:44:02 2014 UTC

# Line 7 | Line 7 | import junit.framework.*;
7   import java.util.*;
8   import java.util.SplittableRandom;
9   import java.util.concurrent.atomic.AtomicInteger;
10 import java.util.concurrent.atomic.AtomicLong;
10   import java.util.concurrent.atomic.LongAdder;
11  
12   public class SplittableRandomTest extends JSR166TestCase {
# Line 89 | Line 88 | public class SplittableRandomTest extend
88       * same values for nextLong.
89       */
90      public void testSeedConstructor() {
91 <        for (long seed = 2; seed < MAX_LONG_BOUND; seed += 15485863)  {
91 >        for (long seed = 2; seed < MAX_LONG_BOUND; seed += 15485863) {
92              SplittableRandom sr1 = new SplittableRandom(seed);
93              SplittableRandom sr2 = new SplittableRandom(seed);
94              for (int i = 0; i < REPS; ++i)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines