Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e1ebcb2 authored by Stephen Hines's avatar Stephen Hines Committed by Android (Google) Code Review
Browse files

Merge "Test exported "long" type."

parents 75a3bcc3 2332340b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {
+1 −1
Original line number Diff line number Diff line
@@ -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);