- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCheckPositive_positiveInt (0.24 sec)
-
guava-tests/test/com/google/common/math/MathPreconditionsTest.java
} public void testCheckPositive_minInt() { assertThrows( IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", Integer.MIN_VALUE)); } public void testCheckPositive_positiveInt() { MathPreconditions.checkPositive("int", 1); } public void testCheckPositive_negativeInt() { assertThrows(IllegalArgumentException.class, () -> MathPreconditions.checkPositive("int", -1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 8K bytes - Viewed (0)