Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testAsListSize (0.08 sec)

  1. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.asList(EMPTY).isEmpty()).isTrue();
        assertThat(Booleans.asList(ARRAY_FALSE).isEmpty()).isFalse();
      }
    
      @SuppressWarnings("CollectionSizeTruth")
      public void testAsListSize() {
        assertThat(Booleans.asList(EMPTY).size()).isEqualTo(0);
        assertThat(Booleans.asList(ARRAY_FALSE).size()).isEqualTo(1);
        assertThat(Booleans.asList(ARRAY_FALSE_TRUE).size()).isEqualTo(2);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top