Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectedComplement (0.09 sec)

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

        assertFalse(rangeSet.contains(5));
        assertFalse(rangeSet.contains(0));
    
        RangeSet<Integer> expectedComplement = TreeRangeSet.create();
        expectedComplement.add(Range.lessThan(1));
        expectedComplement.add(Range.atLeast(5));
    
        assertEquals(expectedComplement, rangeSet.complement());
      }
    
      public void testSingleBoundedBelowRange() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

          if (range.isConnected(subRange)) {
            expected.add(range.intersection(subRange));
          }
        }
        return expected;
      }
    
      private RangeSet<Integer> expectedComplement(RangeSet<Integer> rangeSet) {
        RangeSet<Integer> expected = TreeRangeSet.create();
        expected.add(Range.<Integer>all());
        expected.removeAll(rangeSet);
        return expected;
      }
    
    
    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