Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testGet_bad (0.07 sec)

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

        assertThat(iia.get(0)).isEqualTo(0.0);
        assertThat(iia.get(2)).isEqualTo(3.0);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3.0);
      }
    
      public void testGet_bad() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
    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

        assertThat(iia.get(0)).isEqualTo(0);
        assertThat(iia.get(2)).isEqualTo(3);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3);
      }
    
      public void testGet_bad() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
    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

        assertThat(iia.get(0)).isEqualTo(0.0);
        assertThat(iia.get(2)).isEqualTo(3.0);
        assertThat(iia.subArray(1, 3).get(1)).isEqualTo(3.0);
      }
    
      public void testGet_bad() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
    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