Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for testContains (0.19 sec)

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

            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y).that(Longs.compare(x, y)).isEqualTo(Long.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Longs.contains(EMPTY, 1L)).isFalse();
        assertThat(Longs.contains(ARRAY1, 2L)).isFalse();
        assertThat(Longs.contains(ARRAY234, 1L)).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, 1.0f)).isFalse();
        assertThat(Floats.contains(ARRAY1, 2.0f)).isFalse();
        assertThat(Floats.contains(ARRAY234, 1.0f)).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y).that(Ints.compare(x, y)).isEqualTo(Integer.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Ints.contains(EMPTY, (int) 1)).isFalse();
        assertThat(Ints.contains(ARRAY1, (int) 2)).isFalse();
        assertThat(Ints.contains(ARRAY234, (int) 1)).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/FloatsTest.java

            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y).that(Floats.compare(x, y)).isEqualTo(Float.compare(x, y));
          }
        }
      }
    
      public void testContains() {
        assertThat(Floats.contains(EMPTY, 1.0f)).isFalse();
        assertThat(Floats.contains(ARRAY1, 2.0f)).isFalse();
        assertThat(Floats.contains(ARRAY234, 1.0f)).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.isEmpty(), is(true));
            list.addLast("1");
            assertThat(list.isEmpty(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContaines() throws Exception {
            assertThat(list.contains(null), is(not(true)));
            assertThat(list.contains("1"), is(not(true)));
            list.addLast("1");
            assertThat(list.contains("1"), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top