Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testCheckNonNegative_negativeInt (0.15 seconds)

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

      }
    
      public void testCheckNonNegative_positiveInt() {
        MathPreconditions.checkNonNegative("int", 1);
      }
    
      public void testCheckNonNegative_negativeInt() {
        assertThrows(
            IllegalArgumentException.class, () -> MathPreconditions.checkNonNegative("int", -1));
      }
    
      public void testCheckNonNegative_zeroLong() {
    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_positiveInt() {
        MathPreconditions.checkNonNegative("int", 1);
      }
    
      public void testCheckNonNegative_negativeInt() {
        assertThrows(
            IllegalArgumentException.class, () -> MathPreconditions.checkNonNegative("int", -1));
      }
    
      public void testCheckNonNegative_zeroLong() {
    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