Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testIndexOf_arrays (0.07 sec)

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

        assertThat(Booleans.indexOf(ARRAY_FALSE_TRUE, ARRAY_TRUE)).isEqualTo(1);
        assertThat(Booleans.indexOf(ARRAY_TRUE, new boolean[0])).isEqualTo(0);
      }
    
      public void testIndexOf_arrays() {
        assertThat(Booleans.indexOf(EMPTY, false)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE, true)).isEqualTo(-1);
        assertThat(Booleans.indexOf(ARRAY_FALSE_FALSE, true)).isEqualTo(-1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
Back to top