- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testSaturatedAdd (0.12 sec)
-
guava-tests/test/com/google/common/math/IntMathTest.java
assertFalse(b + "^" + k + " should have failed", expectedSuccess); } } } } @AndroidIncompatible // slow @GwtIncompatible // TODO public void testSaturatedAdd() { for (int a : ALL_INTEGER_CANDIDATES) { for (int b : ALL_INTEGER_CANDIDATES) { assertOperationEquals( a, b, "s+", saturatedCast(valueOf(a).add(valueOf(b))), IntMath.saturatedAdd(a, b));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
assertFalse(b + "^" + k + " should have failed", expectedSuccess); } } } } @AndroidIncompatible // slow @GwtIncompatible // TODO public void testSaturatedAdd() { for (int a : ALL_INTEGER_CANDIDATES) { for (int b : ALL_INTEGER_CANDIDATES) { assertOperationEquals( a, b, "s+", saturatedCast(valueOf(a).add(valueOf(b))), IntMath.saturatedAdd(a, b));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
b, exp, expectedResult); } } } } } @AndroidIncompatible // slow @GwtIncompatible // TODO public void testSaturatedAdd() { for (long a : ALL_LONG_CANDIDATES) { for (long b : ALL_LONG_CANDIDATES) { assertOperationEquals( a, b, "s+", saturatedCast(valueOf(a).add(valueOf(b))), LongMath.saturatedAdd(a, b));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 30.6K bytes - Viewed (0)