Merge "Test exported "long" type."

This commit is contained in:
Stephen Hines
2010-10-11 15:14:36 -07:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -58,11 +58,11 @@ public class UT_primitives extends UnitTest {
}
s.set_intTest(-64);
/*long pL = s.get_longTest();
long pL = s.get_longTest();
if (pL != 17179869184l) {
return false;
}
s.set_longTest(17179869185l);*/
s.set_longTest(17179869185l);
long pLL = s.get_longlongTest();
if (pLL != 68719476736L) {

View File

@@ -25,7 +25,7 @@ static bool test_primitive_types(uint32_t index) {
_RS_ASSERT(charTest == -16);
_RS_ASSERT(shortTest == -32);
_RS_ASSERT(intTest == -64);
_RS_ASSERT(longTest == 17179869184l);
_RS_ASSERT(longTest == 17179869185l);
_RS_ASSERT(longlongTest == 68719476735l);
_RS_ASSERT(ucharTest == 8);