Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for isNotSameInstanceAs (0.11 sec)

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

        assertThat(Chars.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Chars.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Chars.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Chars.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Chars.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Chars.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new char[] {(char) 1, (char) 1, (char) 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)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Doubles.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new double[] {(double) 1, (double) 1, (double) 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)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertDoesntActuallyTrim(iia2);
      }
    
      private static void assertActuallyTrims(ImmutableIntArray iia) {
        ImmutableIntArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertDoesntActuallyTrim(iia2);
      }
    
      private static void assertActuallyTrims(ImmutableDoubleArray iia) {
        ImmutableDoubleArray trimmed = iia.trimmed();
        assertThat(trimmed).isNotSameInstanceAs(iia);
    
        // Yes, this is apparently how you check array equality in Truth
        assertThat(trimmed.toArray()).isEqualTo(iia.toArray());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(ARRAY_FALSE)).isEqualTo(ARRAY_FALSE);
        assertThat(Booleans.concat(ARRAY_FALSE)).isNotSameInstanceAs(ARRAY_FALSE);
        assertThat(Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)).isEqualTo(ARRAY_FALSE);
        assertThat(Booleans.concat(ARRAY_FALSE, ARRAY_FALSE, ARRAY_FALSE))
            .isEqualTo(new boolean[] {false, false, false});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Floats.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Floats.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Floats.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new float[] {(float) 1, (float) 1, (float) 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)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Ints.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Ints.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Ints.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Ints.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Ints.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new int[] {(int) 1, (int) 1, (int) 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)
  8. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Doubles.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Doubles.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Doubles.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new double[] {(double) 1, (double) 1, (double) 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)
  9. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Floats.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Floats.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Floats.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Floats.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new float[] {(float) 1, (float) 1, (float) 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)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Longs.concat(ARRAY1)).isEqualTo(ARRAY1);
        assertThat(Longs.concat(ARRAY1)).isNotSameInstanceAs(ARRAY1);
        assertThat(Longs.concat(EMPTY, ARRAY1, EMPTY)).isEqualTo(ARRAY1);
        assertThat(Longs.concat(ARRAY1, ARRAY1, ARRAY1))
            .isEqualTo(new long[] {(long) 1, (long) 1, (long) 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