Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testCheckPositionIndexes_ok (0.12 seconds)

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

            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(2, 1, "foo"));
        assertThat(expected).hasMessageThat().isEqualTo("foo (2) must not be greater than size (1)");
      }
    
      public void testCheckPositionIndexes_ok() {
        checkPositionIndexes(0, 0, 0);
        checkPositionIndexes(0, 0, 1);
        checkPositionIndexes(0, 1, 1);
        checkPositionIndexes(1, 1, 1);
      }
    
      public void testCheckPositionIndexes_badSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

            assertThrows(IndexOutOfBoundsException.class, () -> checkPositionIndex(2, 1, "foo"));
        assertThat(expected).hasMessageThat().isEqualTo("foo (2) must not be greater than size (1)");
      }
    
      public void testCheckPositionIndexes_ok() {
        checkPositionIndexes(0, 0, 0);
        checkPositionIndexes(0, 0, 1);
        checkPositionIndexes(0, 1, 1);
        checkPositionIndexes(1, 1, 1);
      }
    
      public void testCheckPositionIndexes_badSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
Back to Top