Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for testLastIndexOf (0.11 sec)

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

              .isEqualTo(1);
        }
        assertThat(Doubles.indexOf(new double[] {5.0, NaN, NaN, 5.0}, new double[] {NaN, NaN}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
        assertThat(Doubles.lastIndexOf(EMPTY, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.lastIndexOf(ARRAY1, (double) 2)).isEqualTo(-1);
        assertThat(Doubles.lastIndexOf(ARRAY234, (double) 1)).isEqualTo(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

              .isEqualTo(1);
        }
        assertThat(Floats.indexOf(new float[] {5f, NaN, NaN, 5f}, new float[] {NaN, NaN}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
        assertThat(Floats.lastIndexOf(EMPTY, (float) 1)).isEqualTo(-1);
        assertThat(Floats.lastIndexOf(ARRAY1, (float) 2)).isEqualTo(-1);
        assertThat(Floats.lastIndexOf(ARRAY234, (float) 1)).isEqualTo(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(
                Longs.indexOf(
                    new long[] {(long) 4, (long) 3, (long) 2},
                    new long[] {(long) 2, (long) 3, (long) 4}))
            .isEqualTo(-1);
      }
    
      public void testLastIndexOf() {
        assertThat(Longs.lastIndexOf(EMPTY, (long) 1)).isEqualTo(-1);
        assertThat(Longs.lastIndexOf(ARRAY1, (long) 2)).isEqualTo(-1);
        assertThat(Longs.lastIndexOf(ARRAY234, (long) 1)).isEqualTo(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top