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

Commit 2332340b authored by Stephen Hines's avatar Stephen Hines
Browse files

Test exported "long" type.

Change-Id: I1239aecf29f6d25ed975c8d026328366624d58b9
parent 3e6fee85
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);