iphone - Little-endian hex in GHKit diagnostic, why? -


In terms of iPhone programming, I am using GHacket for unit testing (Gitil on GABIL / GIT unit).

There is a failed test claim:

  GHAssertEquals (150, 15, @ "some limit");  

And here's a diagnostic from GHKit (in the simulator and shown in the Xcode console):

  2009-07-25 22:41: 12.553 Unitatest [38404: 3f07] Exception: '& lt; 96000000 & gt; ' '& Lt; 0f000000 & gt; Should be equal to '+/-' (zero) ' Some limit  

Clearly, GHKit shows offensive values ​​in low-endian hex.

Okay, I can change the integer values, but why? Is this a feature or a bug?

I got a reply from the author of Gahmat, the Google Groups thread in the hour, where he wrote ... < / P>

Maybe we need some macros to test the archives:

GHAssertEqualIntegers GHAssertEqualInts GHAssertEqualDoubles GHAssertEqualFlats


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -