- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testSafeMultiplication (0.52 seconds)
-
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(ArithmeticException.class, () -> InputValidator.safeAdd(Integer.MIN_VALUE, -1)); } @Test @DisplayName("Test safe integer multiplication") void testSafeMultiplication() { assertEquals(100, InputValidator.safeMultiply(10, 10)); assertEquals(-100, InputValidator.safeMultiply(10, -10));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0)