Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for testContaines (0.06 sec)

  1. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            assertWithMessage(x + ", " + y)
                .that(Ints.compare(x, y))
                .isEqualTo(Integer.valueOf(x).compareTo(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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  4. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    }{
    	{[]byte("hello"), []byte("hel"), true},
    	{[]byte("日本語"), []byte("日本"), true},
    	{[]byte("hello"), []byte("Hello, world"), false},
    	{[]byte("東京"), []byte("京東"), false},
    }
    
    func TestContains(t *testing.T) {
    	for _, tt := range containsTests {
    		if got := Contains(tt.b, tt.subslice); got != tt.want {
    			t.Errorf("Contains(%q, %q) = %v, want %v", tt.b, tt.subslice, got, tt.want)
    		}
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top