Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for IsFalse (0.06 sec)

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

        assertThat(ImmutableIntArray.of().isEmpty()).isTrue();
        assertThat(ImmutableIntArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableIntArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(ImmutableDoubleArray.of(0).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).isEmpty()).isFalse();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).isEmpty()).isTrue();
        assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).isEmpty()).isFalse();
      }
    
      public void testGet_good() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BytesTest.java

        }
      }
    
      public void testContains() {
        assertThat(Bytes.contains(EMPTY, (byte) 1)).isFalse();
        assertThat(Bytes.contains(ARRAY1, (byte) 2)).isFalse();
        assertThat(Bytes.contains(ARRAY234, (byte) 1)).isFalse();
        assertThat(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 2)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        assertWithMessage("%s is subtype of %s", paramType, returnType)
            .that(TypeToken.of(paramType).isSubtypeOf(returnType))
            .isFalse();
        assertWithMessage("%s is supertype of %s", returnType, paramType)
            .that(TypeToken.of(returnType).isSupertypeOf(paramType))
            .isFalse();
        if (!spec.suppressGetSubtype()) {
          try {
            assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType()))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        }
      }
    
      public void testContains() {
        assertThat(Bytes.contains(EMPTY, (byte) 1)).isFalse();
        assertThat(Bytes.contains(ARRAY1, (byte) 2)).isFalse();
        assertThat(Bytes.contains(ARRAY234, (byte) 1)).isFalse();
        assertThat(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)).isTrue();
        assertThat(Bytes.contains(ARRAY234, (byte) 2)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(MoreFiles.equal(fooPath, barPath)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue();
          assertThat(MoreFiles.asByteSource(fooPath).contentEquals(MoreFiles.asByteSource(fooPath)))
              .isTrue();
    
          Path fooCopy = Files.copy(fooPath, fs.getPath("fooCopy"));
          assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooCopy)).isTrue();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.time.Duration
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isCloseTo
    import assertk.assertions.isFalse
    import assertk.assertions.isInstanceOf
    import assertk.assertions.matchesPredicate
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import java.util.Deque
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

          try {
            assertThat(UnsignedLong.valueOf(value).longValue()).isEqualTo(value);
            assertThat(expectSuccess).isTrue();
          } catch (IllegalArgumentException e) {
            assertThat(expectSuccess).isFalse();
          }
        }
      }
    
    
      public void testValueOfBigInteger() {
        BigInteger min = BigInteger.ZERO;
        BigInteger max = UnsignedLong.MAX_VALUE.bigIntegerValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top