Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testLower (0.28 sec)

  1. 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() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  2. 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  3. 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()));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. 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()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        try {
          sortedMultiset.pollFirstEntry();
          fail();
        } catch (UnsupportedOperationException e) {
        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        try {
          sortedMultiset.pollFirstEntry();
          fail();
        } catch (UnsupportedOperationException e) {
        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        resetWithHole();
        assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
        assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 25.9K bytes
    - Viewed (0)
Back to top