Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testSubSet (0.07 sec)

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

        assertThat(set.tailSet(3, false)).isEmpty();
      }
    
      public void testTailSet_tooLarge() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty();
      }
    
      public void testSubSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThat(set.subSet(1, 4)).containsExactly(1, 2, 3).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

                  filter(createUnfiltered(contents), EVEN).tailSet(i));
            }
          }
        }
    
        @SuppressWarnings("unchecked")
        public void testSubSet() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              for (int j = i; j < 10; j++) {
                assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.tailSet(3, false)).isEmpty();
      }
    
      public void testTailSet_tooLarge() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).tailSet(4)).isEmpty();
      }
    
      public void testSubSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThat(set.subSet(1, 4)).containsExactly(1, 2, 3).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top