Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testLastIndexOf (0.1 sec)

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

        assertThat(iia.indexOf(Double.MAX_VALUE)).isEqualTo(2);
        assertThat(iia.indexOf(Double.POSITIVE_INFINITY)).isEqualTo(3);
        assertThat(iia.indexOf(Double.NaN)).isEqualTo(4);
      }
    
      public void testLastIndexOf() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.lastIndexOf(1)).isEqualTo(1);
        assertThat(iia.lastIndexOf(8)).isEqualTo(5);
    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(ImmutableIntArray.of(13).indexOf(13)).isEqualTo(0);
        assertThat(ImmutableIntArray.of().indexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0);
      }
    
      public void testLastIndexOf() {
        ImmutableIntArray iia = ImmutableIntArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.lastIndexOf(1)).isEqualTo(1);
        assertThat(iia.lastIndexOf(8)).isEqualTo(5);
        assertThat(iia.lastIndexOf(4)).isEqualTo(-1);
    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.indexOf(Double.MAX_VALUE)).isEqualTo(2);
        assertThat(iia.indexOf(Double.POSITIVE_INFINITY)).isEqualTo(3);
        assertThat(iia.indexOf(Double.NaN)).isEqualTo(4);
      }
    
      public void testLastIndexOf() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.lastIndexOf(1)).isEqualTo(1);
        assertThat(iia.lastIndexOf(8)).isEqualTo(5);
    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