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

Comparing jsr166/src/test/loops/DequeBash.java (file contents):
Revision 1.10 by jsr166, Wed Dec 31 17:00:58 2014 UTC vs.
Revision 1.11 by jsr166, Thu Jan 15 18:34:19 2015 UTC

# Line 22 | Line 22 | public class DequeBash {
22      static int nextHead = -1;
23      static int size() { return nextTail - nextHead - 1; }
24  
25
25      static int random(int bound) {
26          int x = seed;
27          int t = (x % 127773) * 16807 - (x / 127773) * 2836;
# Line 154 | Line 153 | public class DequeBash {
153                                  deque.getLast() + " expecting " + (nextTail - 1));
154      }
155  
157
156      static void randomOp(Deque<Integer> deque) throws Exception {
157  
158          // Perform a random operation
# Line 231 | Line 229 | public class DequeBash {
229          }
230      }
231  
234
232      private static void testEqual(Deque<Integer> d1, Deque<Integer> d2)
233          throws Exception
234      {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines