Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testBuilder_presize_negative (0.21 sec)

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

        builder.add(5.0);
        ImmutableDoubleArray array = builder.build();
        assertThat(array.asList()).containsExactly(5.0);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1));
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        builder.add(5);
        ImmutableIntArray array = builder.build();
        assertThat(array.asList()).containsExactly(5);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableIntArray.builder(-1));
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        builder.add(5.0);
        ImmutableDoubleArray array = builder.build();
        assertThat(array.asList()).containsExactly(5.0);
      }
    
      public void testBuilder_presize_negative() {
        assertThrows(IllegalArgumentException.class, () -> ImmutableDoubleArray.builder(-1));
      }
    
      /**
       * If there's a bug in builder growth, we wouldn't know how to expose it. So, brute force the hell
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top