Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for CollectionSizeTruth (0.14 seconds)

  1. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(edges).doesNotContain(EndpointPair.ordered(N3, N4)); // nodes not in graph
      }
    
      // We are testing our implementations of methods on Collection.
      @SuppressWarnings({"CollectionSizeTruth", "CollectionContainsTruth"})
      private static void containsExactlySanityCheck(Collection<?> collection, Object... varargs) {
        assertThat(collection.size()).isEqualTo(varargs.length);
        for (Object obj : varargs) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        assertThat(edges).doesNotContain(EndpointPair.ordered(N3, N4)); // nodes not in graph
      }
    
      // We are testing our implementations of methods on Collection.
      @SuppressWarnings({"CollectionSizeTruth", "CollectionContainsTruth"})
      private static void containsExactlySanityCheck(Collection<?> collection, Object... varargs) {
        assertThat(collection.size()).isEqualTo(varargs.length);
        for (Object obj : varargs) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testAsListIsEmpty() {
        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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 25.3K bytes
    - Click Count (0)
Back to Top