Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testFirst (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetLast() {
        assertEquals(a, sortedSet.last());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c, sortedSet.last());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c.getKey(), navigableMap.lastKey());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapLast() {
        assertEquals(a.getKey(), navigableMap.lastKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a.getKey(), navigableMap.firstKey());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLast() {
        assertEquals(c.getKey(), navigableMap.lastKey());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testSingletonMapPollLast() {
        assertEquals(a, navigableMap.pollLastEntry());
        assertTrue(navigableMap.isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, navigableMap.firstEntry());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

                .testEquals();
          }
        }
      }
    
      public abstract static class AbstractFilteredSortedSetTest<C extends SortedSet<Integer>>
          extends AbstractFilteredSetTest<C> {
        public void testFirst() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
    
            try {
              Integer first = filtered.first();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testSingletonMultisetPollLast() {
        assertEquals(a, sortedMultiset.pollLastEntry());
        assertTrue(sortedMultiset.isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedMultiset.firstEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testSingletonMultisetPollLast() {
        assertEquals(a, sortedMultiset.pollLastEntry());
        assertTrue(sortedMultiset.isEmpty());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
        assertEquals(a, sortedMultiset.firstEntry());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(SEVERAL)
      public void testPollFirst() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top