Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testLower (0.1 sec)

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

       * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that
       * ContiguousSet's tests would no longer need to suppress them.
       */
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(b, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that
       * ContiguousSet's tests would no longer need to suppress them.
       */
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
        assertEquals(b, navigableSet.lower(c));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFloor() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> navigableMap.pollFirstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, navigableMap.lowerEntry(a.getKey()));
        assertEquals(null, navigableMap.lowerKey(a.getKey()));
        assertEquals(a, navigableMap.lowerEntry(b.getKey()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollFirstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

      public void testPollFirstUnsupported() {
        assertThrows(UnsupportedOperationException.class, () -> sortedMultiset.pollFirstEntry());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
    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