Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for isEqualTo (0.09 sec)

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

        assertThat(Bytes.indexOf(EMPTY, (byte) 1)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY1, (byte) 2)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY234, (byte) 1)).isEqualTo(-1);
        assertThat(Bytes.indexOf(new byte[] {(byte) -1}, (byte) -1)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, (byte) 2)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, (byte) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(EMPTY_STATS_VARARGS.count()).isEqualTo(0);
        assertThat(EMPTY_STATS_ITERABLE.count()).isEqualTo(0);
        assertThat(ONE_VALUE_STATS.count()).isEqualTo(1);
        assertThat(TWO_VALUES_STATS.count()).isEqualTo(2);
        assertThat(MANY_VALUES_STATS_VARARGS.count()).isEqualTo(MANY_VALUES_COUNT);
        assertThat(MANY_VALUES_STATS_ITERABLE.count()).isEqualTo(MANY_VALUES_COUNT);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(iia.indexOf(1)).isEqualTo(0);
        assertThat(iia.indexOf(8)).isEqualTo(5);
        assertThat(iia.indexOf(4)).isEqualTo(-1);
        assertThat(ImmutableDoubleArray.of(13).indexOf(13)).isEqualTo(0);
        assertThat(ImmutableDoubleArray.of().indexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0);
      }
    
      public void testIndexOf_specialValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(EMPTY, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, (double) 2)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 2)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 3)).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)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.indexOf(EMPTY, (char) 1)).isEqualTo(-1);
        assertThat(Chars.indexOf(ARRAY1, (char) 2)).isEqualTo(-1);
        assertThat(Chars.indexOf(ARRAY234, (char) 1)).isEqualTo(-1);
        assertThat(Chars.indexOf(new char[] {(char) -1}, (char) -1)).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, (char) 2)).isEqualTo(0);
        assertThat(Chars.indexOf(ARRAY234, (char) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat(Bytes.indexOf(EMPTY, (byte) 1)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY1, (byte) 2)).isEqualTo(-1);
        assertThat(Bytes.indexOf(ARRAY234, (byte) 1)).isEqualTo(-1);
        assertThat(Bytes.indexOf(new byte[] {(byte) -1}, (byte) -1)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, (byte) 2)).isEqualTo(0);
        assertThat(Bytes.indexOf(ARRAY234, (byte) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
        assertThat(UnsignedInts.decode("0X13579135")).isEqualTo(0x13579135);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      public void testToInt() {
        assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0);
        assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1);
        assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
        assertThat(UnsignedBytes.toInt((byte) -128)).isEqualTo(128);
        assertThat(UnsignedBytes.toInt((byte) -127)).isEqualTo(129);
        assertThat(UnsignedBytes.toInt((byte) -1)).isEqualTo(255);
      }
    
      public void testCheckedCast() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.indexOf(EMPTY, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY1, (int) 2)).isEqualTo(-1);
        assertThat(Ints.indexOf(ARRAY234, (int) 1)).isEqualTo(-1);
        assertThat(Ints.indexOf(new int[] {(int) -1}, (int) -1)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 2)).isEqualTo(0);
        assertThat(Ints.indexOf(ARRAY234, (int) 3)).isEqualTo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.indexOf(EMPTY, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY1, (double) 2)).isEqualTo(-1);
        assertThat(Doubles.indexOf(ARRAY234, (double) 1)).isEqualTo(-1);
        assertThat(Doubles.indexOf(new double[] {(double) -1}, (double) -1)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 2)).isEqualTo(0);
        assertThat(Doubles.indexOf(ARRAY234, (double) 3)).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)
Back to top