Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testSubSet_outOfOrder (0.13 sec)

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

        assertThat(set.subSet(1, true, 3, false)).containsExactly(1, 2).inOrder();
        assertThat(set.subSet(1, false, 3, false)).containsExactly(2).inOrder();
      }
    
      public void testSubSet_outOfOrder() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThrows(IllegalArgumentException.class, () -> set.subSet(3, 2));
      }
    
      public void testSubSet_tooLarge() {
    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/ContiguousSetTest.java

        assertThat(set.subSet(1, true, 3, false)).containsExactly(1, 2).inOrder();
        assertThat(set.subSet(1, false, 3, false)).containsExactly(2).inOrder();
      }
    
      public void testSubSet_outOfOrder() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThrows(IllegalArgumentException.class, () -> set.subSet(3, 2));
      }
    
      public void testSubSet_tooLarge() {
    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