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

Comparing jsr166/src/test/tck/TreeSubSetTest.java (file contents):
Revision 1.20 by jsr166, Tue May 31 16:16:24 2011 UTC vs.
Revision 1.21 by jsr166, Sat Nov 26 05:19:17 2011 UTC

# Line 445 | Line 445 | public class TreeSubSetTest extends JSR1
445              assertTrue(q.contains(it.next()));
446              ++i;
447          }
448 <        assertEquals(i, 0);
448 >        assertEquals(0, i);
449      }
450  
451      /**
# Line 462 | Line 462 | public class TreeSubSetTest extends JSR1
462          it.remove();
463  
464          it = q.iterator();
465 <        assertEquals(it.next(), 2);
466 <        assertEquals(it.next(), 3);
465 >        assertEquals(2, it.next());
466 >        assertEquals(3, it.next());
467          assertFalse(it.hasNext());
468      }
469  
# Line 934 | Line 934 | public class TreeSubSetTest extends JSR1
934              assertTrue(q.contains(it.next()));
935              ++i;
936          }
937 <        assertEquals(i, 0);
937 >        assertEquals(0, i);
938      }
939  
940      /**
# Line 951 | Line 951 | public class TreeSubSetTest extends JSR1
951          it.remove();
952  
953          it = q.iterator();
954 <        assertEquals(it.next(), 2);
955 <        assertEquals(it.next(), 3);
954 >        assertEquals(2, it.next());
955 >        assertEquals(3, it.next());
956          assertFalse(it.hasNext());
957      }
958  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines