Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testDifference (0.16 sec)

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

        enemies.add("Joe");
        assertEquals(2, frenemies.size());
        assertEquals(1, immut.size());
        assertEquals(1, mut.size());
      }
    
      public void testDifference() {
        Set<String> friends = newHashSet("Tom", "Joe", "Dave");
        Set<String> enemies = newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        enemies.add("Joe");
        assertEquals(2, frenemies.size());
        assertEquals(1, immut.size());
        assertEquals(1, mut.size());
      }
    
      public void testDifference() {
        Set<String> friends = newHashSet("Tom", "Joe", "Dave");
        Set<String> enemies = newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .add(Range.open(6, 7))
                .add(Range.singleton(8))
                .build();
    
        assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testDifference() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.openClosed(3, 4))
                .add(Range.open(8, 10))
                .add(Range.openClosed(15, 17))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top