Home
last modified time | relevance | path

Searched refs:force32 (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedIntegerTest.java38 private static int force32(int value) { in force32() method in UnsignedIntegerTest
49 .add(force32(Integer.MIN_VALUE + i))
50 .add(force32(Integer.MAX_VALUE + i));
164 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus()
178 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DIntMathTest.java122 assertEquals(p + "/" + q, force32(expected), IntMath.divide(p, q, mode)); in testDivNonZero()
286 assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k)); in testCheckedPow()
353 private static int force32(int value) { in force32() method in IntMathTest
/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java289 assertEquals(p + "/" + q, force32(expected), IntMath.divide(p, q, mode)); in testDivNonZero()
453 assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k)); in testCheckedPow()
595 private static int force32(int value) { in force32() method in IntMathTest