[cvs] / jsr166 / src / test / tck / ArrayDequeTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/ArrayDequeTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12, Sun Nov 22 18:57:16 2009 UTC revision 1.13, Tue Dec 1 09:56:28 2009 UTC
# Line 617  Line 617 
617      public void testAddFirst() {      public void testAddFirst() {
618          ArrayDeque q = populatedDeque(3);          ArrayDeque q = populatedDeque(3);
619          q.addFirst(four);          q.addFirst(four);
620          assertEquals(four,q.peekFirst());          assertSame(four, q.peekFirst());
621      }      }
622    
623      /**      /**
# Line 626  Line 626 
626      public void testAddLast() {      public void testAddLast() {
627          ArrayDeque q = populatedDeque(3);          ArrayDeque q = populatedDeque(3);
628          q.addLast(four);          q.addLast(four);
629          assertEquals(four,q.peekLast());          assertSame(four, q.peekLast());
630      }      }
631    
632  }  }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8