Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testCreation_twoElements (0.12 sec)

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

      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_twoElements() {
        Multiset<String> multiset = ImmutableMultiset.of("a", "b");
        assertEquals(HashMultiset.create(asList("a", "b")), multiset);
      }
    
      public void testCreation_threeElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_twoElements() {
        Multiset<String> multiset = ImmutableMultiset.of("a", "b");
        assertEquals(HashMultiset.create(asList("a", "b")), multiset);
      }
    
      public void testCreation_threeElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableSortedMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_twoElements() {
        Multiset<String> multiset = ImmutableSortedMultiset.of("a", "b");
        assertEquals(HashMultiset.create(asList("a", "b")), multiset);
      }
    
      public void testCreation_threeElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

        assertSame(this.<String>of(), set);
      }
    
      public void testCreation_oneElement() {
        Set<String> set = of("a");
        assertEquals(singleton("a"), set);
      }
    
      public void testCreation_twoElements() {
        Set<String> set = of("a", "b");
        assertEquals(newHashSet("a", "b"), set);
      }
    
      public void testCreation_threeElements() {
        Set<String> set = of("a", "b", "c");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(emptyList(), list);
      }
    
      public void testCreation_oneElement() {
        List<String> list = ImmutableList.of("a");
        assertEquals(singletonList("a"), list);
      }
    
      public void testCreation_twoElements() {
        List<String> list = ImmutableList.of("a", "b");
        assertEquals(Lists.newArrayList("a", "b"), list);
      }
    
      public void testCreation_threeElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(emptyList(), list);
      }
    
      public void testCreation_oneElement() {
        List<String> list = ImmutableList.of("a");
        assertEquals(singletonList("a"), list);
      }
    
      public void testCreation_twoElements() {
        List<String> list = ImmutableList.of("a", "b");
        assertEquals(Lists.newArrayList("a", "b"), list);
      }
    
      public void testCreation_threeElements() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top