Home
last modified time | relevance | path

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

/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DIntMathTest.java19 import static com.google.common.math.MathTesting.ALL_INTEGER_CANDIDATES;
47 for (int x : ALL_INTEGER_CANDIDATES) { in testLessThanBranchFree()
48 for (int y : ALL_INTEGER_CANDIDATES) { in testLessThanBranchFree()
155 for (int p : ALL_INTEGER_CANDIDATES) { in testDivByZeroAlwaysFails()
166 for (int x : ALL_INTEGER_CANDIDATES) { in testMod()
185 for (int x : ALL_INTEGER_CANDIDATES) { in testModZeroModulusFails()
236 for (int a : ALL_INTEGER_CANDIDATES) { in testCheckedAdd()
237 for (int b : ALL_INTEGER_CANDIDATES) { in testCheckedAdd()
251 for (int a : ALL_INTEGER_CANDIDATES) { in testCheckedSubtract()
252 for (int b : ALL_INTEGER_CANDIDATES) { in testCheckedSubtract()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java19 import static com.google.common.math.MathTesting.ALL_INTEGER_CANDIDATES;
100 for (int x : ALL_INTEGER_CANDIDATES) { in testLessThanBranchFree()
101 for (int y : ALL_INTEGER_CANDIDATES) { in testLessThanBranchFree()
113 for (int x : ALL_INTEGER_CANDIDATES) { in testIsPowerOfTwo()
271 for (int i : ALL_INTEGER_CANDIDATES) { in testPow()
322 for (int p : ALL_INTEGER_CANDIDATES) { in testDivByZeroAlwaysFails()
333 for (int x : ALL_INTEGER_CANDIDATES) { in testMod()
352 for (int x : ALL_INTEGER_CANDIDATES) { in testModZeroModulusFails()
403 for (int a : ALL_INTEGER_CANDIDATES) { in testCheckedAdd()
404 for (int b : ALL_INTEGER_CANDIDATES) { in testCheckedAdd()
[all …]
DLongMathTest.java19 import static com.google.common.math.MathTesting.ALL_INTEGER_CANDIDATES;
477 for (long a : ALL_INTEGER_CANDIDATES) { in testCheckedAdd()
478 for (long b : ALL_INTEGER_CANDIDATES) { in testCheckedAdd()
493 for (long a : ALL_INTEGER_CANDIDATES) { in testCheckedSubtract()
494 for (long b : ALL_INTEGER_CANDIDATES) { in testCheckedSubtract()
509 for (long a : ALL_INTEGER_CANDIDATES) { in testCheckedMultiply()
510 for (long b : ALL_INTEGER_CANDIDATES) { in testCheckedMultiply()
525 for (long b : ALL_INTEGER_CANDIDATES) { in testCheckedPow()
DMathTesting.java107 static final Iterable<Integer> ALL_INTEGER_CANDIDATES; field in MathTesting
130 ALL_INTEGER_CANDIDATES = Iterables.concat(NONZERO_INTEGER_CANDIDATES, ImmutableList.of(0));