Menu

#9 assert_equal() doesn't report correctly with uint64_t

open
nobody
None
5
2012-12-11
2009-06-16
No

On Ubuntu 9.04 on amd64, with current SVN, we are getting odd output when using assert_equal() on uint64_t variables (as defined in stdint.h)

This code:
uint64_t long1 = 0x100000000;
assert_equal(long1, 0);

produced this output:
test.cpp:355 - Failure!: tests -> uint64_test -> [0] should match [0] at [test.cpp] line [55]

There are other variations as well, but fixing this one should probably fix the rest.

Discussion


Log in to post a comment.

Monday.com Logo