Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for testFirst (0.2 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. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testSubSet_tooSmall() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).subSet(-1, 0)).isEmpty();
      }
    
      public void testFirst() {
        assertEquals(1, ContiguousSet.create(Range.closed(1, 3), integers()).first().intValue());
        assertEquals(1, ContiguousSet.create(Range.open(0, 4), integers()).first().intValue());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. 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)
  7. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testSubSet_tooSmall() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).subSet(-1, 0)).isEmpty();
      }
    
      public void testFirst() {
        assertEquals(1, ContiguousSet.create(Range.closed(1, 3), integers()).first().intValue());
        assertEquals(1, ContiguousSet.create(Range.open(0, 4), integers()).first().intValue());
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. native-image-tests/src/main/resources/testlist.txt

    Jesse Wilson <******@****.***> 1683816537 -0400
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu May 11 14:48:57 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top