Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAddAll (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertEquals(0, queue.remainingCapacity());
    
        assertEquals("two", queue.remove());
        assertEquals(2, queue.size());
        assertEquals(1, queue.remainingCapacity());
      }
    
      public void testAddAll() throws Exception {
        EvictingQueue<String> queue = EvictingQueue.create(3);
        assertEquals(0, queue.size());
        assertEquals(3, queue.remainingCapacity());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        assertEquals(Range.closed(7, 10), rangeSet.rangeContaining(8));
        assertTrue(rangeSet.contains(8));
        assertNull(rangeSet.rangeContaining(6));
        assertFalse(rangeSet.contains(6));
      }
    
      public void testAddAll() {
        RangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(3, 10));
        rangeSet.addAll(asList(Range.open(1, 3), Range.closed(5, 8), Range.closed(9, 11)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top