Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testCheckNonNegative_positiveInt (0.14 seconds)

  1. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      public void testCheckNonNegative_minInt() {
        assertThrows(
            IllegalArgumentException.class,
            () -> MathPreconditions.checkNonNegative("int", Integer.MIN_VALUE));
      }
    
      public void testCheckNonNegative_positiveInt() {
        MathPreconditions.checkNonNegative("int", 1);
      }
    
      public void testCheckNonNegative_negativeInt() {
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      public void testCheckNonNegative_minInt() {
        assertThrows(
            IllegalArgumentException.class,
            () -> MathPreconditions.checkNonNegative("int", Integer.MIN_VALUE));
      }
    
      public void testCheckNonNegative_positiveInt() {
        MathPreconditions.checkNonNegative("int", 1);
      }
    
      public void testCheckNonNegative_negativeInt() {
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top