Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java95 int expectedInt = 0x0000abcd; in testFromBytes_copyOccurs() local
98 assertEquals(expectedInt, hashCode.asInt()); in testFromBytes_copyOccurs()
103 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/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java479 int expectedInt = (referenceByte & 0xFF); in testNewInput() local
480 stillEqual = (expectedInt == input.read()); in testNewInput()
DNioByteStringTest.java550 int expectedInt = (referenceByte & 0xFF); in testNewInput() local
551 stillEqual = (expectedInt == input.read()); in testNewInput()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterTest.java2406 int expectedInt; in TestNumericProperties() local
2409 expectedInt = -1; in TestNumericProperties()
2411 expectedInt = (int)values[i][2]; in TestNumericProperties()
2412 if (expectedInt < 0 || expectedInt != values[i][2]) { in TestNumericProperties()
2414 expectedInt = -2; in TestNumericProperties()
2418 expectedInt = (int)values[i][3]; in TestNumericProperties()
2421 if (nvInt != expectedInt) { in TestNumericProperties()
2423 + ") = " + nvInt + " should be " + expectedInt); in TestNumericProperties()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java2403 int expectedInt; in TestNumericProperties() local
2406 expectedInt = -1; in TestNumericProperties()
2408 expectedInt = (int)values[i][2]; in TestNumericProperties()
2409 if (expectedInt < 0 || expectedInt != values[i][2]) { in TestNumericProperties()
2411 expectedInt = -2; in TestNumericProperties()
2415 expectedInt = (int)values[i][3]; in TestNumericProperties()
2418 if (nvInt != expectedInt) { in TestNumericProperties()
2420 + ") = " + nvInt + " should be " + expectedInt); in TestNumericProperties()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp2048 SType expectedInt = fValueId[0].bits(); in compareBytes() local
2049 ValueId expectedValueId = static_cast<ValueId>(expectedInt); in compareBytes()