Merge "Test exported "long" type."
This commit is contained in:
committed by
Android (Google) Code Review
commit
1e1ebcb2d0
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user