Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for testcontainers (0.16 sec)

  1. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertTrue(isFoobar.apply("Foxyzoabcbar"));
        assertFalse(isFoobar.apply("Foobarx"));
      }
    
      @GwtIncompatible // Predicates.containsPattern
      public void testContains_apply() {
        Predicate<CharSequence> isFoobar = Predicates.contains(Pattern.compile("^Fo.*o.*bar$"));
    
        assertTrue(isFoobar.apply("Foxyzoabcbar"));
        assertFalse(isFoobar.apply("Foobarx"));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        assertThat(ImmutableDoubleArray.of().lastIndexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).lastIndexOf(1)).isEqualTo(0);
      }
    
      public void testContains() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(ImmutableLongArray.of().lastIndexOf(21)).isEqualTo(-1);
        assertThat(iia.subArray(1, 5).lastIndexOf(1)).isEqualTo(0);
      }
    
      public void testContains() {
        ImmutableLongArray iia = ImmutableLongArray.of(1, 1, 2, 3, 5, 8);
        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/BooleansTest.java

            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Booleans.contains(EMPTY, false)).isFalse();
        assertThat(Booleans.contains(ARRAY_FALSE, true)).isFalse();
        assertThat(Booleans.contains(ARRAY_FALSE, false)).isTrue();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

            assertWithMessage(x + ", " + y)
                .that(Booleans.compare(x, y))
                .isEqualTo(Boolean.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Booleans.contains(EMPTY, false)).isFalse();
        assertThat(Booleans.contains(ARRAY_FALSE, true)).isFalse();
        assertThat(Booleans.contains(ARRAY_FALSE, false)).isTrue();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

              assertWithMessage(x + ", " + y + " (expected: " + expected + ", actual" + actual + ")")
                  .that(actual > 0)
                  .isTrue();
            }
          }
        }
      }
    
      public void testContains() {
        assertThat(Shorts.contains(EMPTY, (short) 1)).isFalse();
        assertThat(Shorts.contains(ARRAY1, (short) 2)).isFalse();
        assertThat(Shorts.contains(ARRAY234, (short) 1)).isFalse();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

            assertWithMessage(x + ", " + y)
                .that(Floats.compare(x, y))
                .isEqualTo(Float.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, (float) 1)).isFalse();
        assertThat(Floats.contains(ARRAY1, (float) 2)).isFalse();
        assertThat(Floats.contains(ARRAY234, (float) 1)).isFalse();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testContains_nullSetYes() {
        Iterable<String> set = Sets.newHashSet("a", null, "b");
        assertTrue(FluentIterable.from(set).contains(null));
      }
    
      public void testContains_nullSetNo() {
        Iterable<String> set = ImmutableSortedSet.of("a", "b");
        assertFalse(FluentIterable.from(set).contains(null));
      }
    
      public void testContains_nullIterableYes() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/DoublesTest.java

            assertWithMessage(x + ", " + y)
                .that(Doubles.compare(x, y))
                .isEqualTo(Double.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Doubles.contains(EMPTY, (double) 1)).isFalse();
        assertThat(Doubles.contains(ARRAY1, (double) 2)).isFalse();
        assertThat(Doubles.contains(ARRAY234, (double) 1)).isFalse();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

            assertWithMessage(x + ", " + y)
                .that(Longs.compare(x, y))
                .isEqualTo(Long.valueOf(x).compareTo(y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Longs.contains(EMPTY, (long) 1)).isFalse();
        assertThat(Longs.contains(ARRAY1, (long) 2)).isFalse();
        assertThat(Longs.contains(ARRAY234, (long) 1)).isFalse();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
Back to top