Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for isSameInstanceAs (0.08 sec)

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

        ImmutableDoubleArray iia3 = ImmutableDoubleArray.of(5, 25, 125);
    
        assertThat(iia0.subArray(0, 0)).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(iia1.subArray(0, 0)).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(iia1.subArray(1, 1)).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(iia1.subArray(0, 1).asList()).containsExactly(5.0);
    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/base/ThrowablesTest.java

        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    
      @GwtIncompatible // getCauseAs(Throwable, Class)
      public void testGetCauseAs() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException thrown = new SomeChainingException(cause);
    
        assertThat(thrown).hasCauseThat().isSameInstanceAs(cause);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        assertThat(UnsignedBytes.lexicographicalComparator()).isSameInstanceAs(defaultComparator);
        if (unsafeComparatorAvailable()) {
          assertThat(Class.forName(unsafeComparatorClassName()))
              .isSameInstanceAs(defaultComparator.getClass());
        } else {
          assertThat(UnsignedBytes.lexicographicalComparatorJavaImpl())
              .isSameInstanceAs(defaultComparator);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(base32().upperCase()).isSameInstanceAs(base32());
      }
    
      public void testBase32LowerCase() {
        testEncodingWithCasing(base32().lowerCase(), "foobar", "mzxw6ytboi======");
      }
    
      public void testBase32IgnoreCase() {
        BaseEncoding ignoreCase = base32().ignoreCase();
        assertThat(ignoreCase).isNotSameInstanceAs(base32());
        assertThat(ignoreCase).isSameInstanceAs(base32().ignoreCase());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray iia3 = ImmutableIntArray.of(5, 25, 125);
    
        assertThat(iia0.subArray(0, 0)).isSameInstanceAs(ImmutableIntArray.of());
        assertThat(iia1.subArray(0, 0)).isSameInstanceAs(ImmutableIntArray.of());
        assertThat(iia1.subArray(1, 1)).isSameInstanceAs(ImmutableIntArray.of());
        assertThat(iia1.subArray(0, 1).asList()).containsExactly(5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray iia3 = ImmutableDoubleArray.of(5, 25, 125);
    
        assertThat(iia0.subArray(0, 0)).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(iia1.subArray(0, 0)).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(iia1.subArray(1, 1)).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(iia1.subArray(0, 1).asList()).containsExactly(5.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/GraphsTest.java

        assertThat(transpose(transpose)).isSameInstanceAs(directedGraph);
        AbstractGraphTest.validateGraph(transpose);
    
        for (Integer node : directedGraph.nodes()) {
          assertThat(directedGraph.inDegree(node)).isSameInstanceAs(transpose.outDegree(node));
          assertThat(directedGraph.outDegree(node)).isSameInstanceAs(transpose.inDegree(node));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    
      @GwtIncompatible // getCauseAs(Throwable, Class)
      public void testGetCauseAs() {
        SomeCheckedException cause = new SomeCheckedException();
        SomeChainingException thrown = new SomeChainingException(cause);
    
        assertThat(thrown).hasCauseThat().isSameInstanceAs(cause);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/BytesTest.java

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

      }
    
      public void testEnsureCapacity() {
        assertThat(Chars.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
        assertThat(Chars.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Chars.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Chars.ensureCapacity(ARRAY1, 2, 1))
            .isEqualTo(new char[] {(char) 1, (char) 0, (char) 0});
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top