Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedIntegerTest.java36 private static int force32(int value) { in force32() method in UnsignedIntegerTest
47 .add(force32(Integer.MIN_VALUE + i))
48 .add(force32(Integer.MAX_VALUE + i));
161 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus()
175 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes()
/external/guava/android/guava-tests/test/com/google/common/primitives/
DUnsignedIntegerTest.java36 private static int force32(int value) { in force32() method in UnsignedIntegerTest
47 .add(force32(Integer.MIN_VALUE + i))
48 .add(force32(Integer.MAX_VALUE + i));
161 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus()
175 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes()
/external/guava/android/guava-tests/test/com/google/common/math/
DIntMathTest.java366 assertEquals(p + "/" + q, force32(expected), IntMath.divide(p, q, mode)); in testDivNonZero()
541 assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k)); in testCheckedPow()
771 private static int force32(int value) { in force32() method in IntMathTest
/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java366 assertEquals(p + "/" + q, force32(expected), IntMath.divide(p, q, mode)); in testDivNonZero()
541 assertEquals(b + "^" + k, force32(expectedResult.intValue()), IntMath.checkedPow(b, k)); in testCheckedPow()
771 private static int force32(int value) { in force32() method in IntMathTest