Home
last modified time | relevance | path

Searched refs:expectedInt (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java93 int expectedInt = 0x0000abcd; in testFromBytes_copyOccurs() local
96 assertEquals(expectedInt, hashCode.asInt()); in testFromBytes_copyOccurs()
101 assertEquals(expectedInt, hashCode.asInt()); in testFromBytes_copyOccurs()
/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java466 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; in testFactorial() local
467 assertEquals(expectedInt, IntMath.factorial(n)); in testFactorial()
486 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; in testBinomial() local
487 assertEquals(expectedInt, IntMath.binomial(n, k)); in testBinomial()
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
DIntMathTest.java299 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; in testFactorial() local
300 assertEquals(expectedInt, IntMath.factorial(n)); in testFactorial()
/external/protobuf/java/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java343 int expectedInt = (referenceByte & 0xFF); in testNewInput() local
344 stillEqual = (expectedInt == input.read()); in testNewInput()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java2374 int expectedInt; in TestNumericProperties() local
2377 expectedInt = -1; in TestNumericProperties()
2379 expectedInt = (int)values[i][2]; in TestNumericProperties()
2380 if (expectedInt < 0 || expectedInt != values[i][2]) { in TestNumericProperties()
2382 expectedInt = -2; in TestNumericProperties()
2386 expectedInt = (int)values[i][3]; in TestNumericProperties()
2389 if (nvInt != expectedInt) { in TestNumericProperties()
2391 + ") = " + nvInt + " should be " + expectedInt); in TestNumericProperties()