From daa8fca001c0eddd5b0856d60aa7ecd59c7d6acc Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 4 Jan 2015 20:58:19 +0100 Subject: TEST: Fix uint64 endian related test code. This does not fix the actual implementation issues which are present right now! --- test/common/memoryreadstreamendian.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/common/memoryreadstreamendian.h') diff --git a/test/common/memoryreadstreamendian.h b/test/common/memoryreadstreamendian.h index 515128ea2a..c25ec29e1a 100644 --- a/test/common/memoryreadstreamendian.h +++ b/test/common/memoryreadstreamendian.h @@ -82,7 +82,7 @@ class MemoryReadStreamEndianTestSuite : public CxxTest::TestSuite { TS_ASSERT_EQUALS(ms.pos(), 2); TS_ASSERT_EQUALS(ms.readUint32BE(), 0x03040506UL); TS_ASSERT_EQUALS(ms.pos(), 6); - TS_ASSERT_EQUALS(ms.readUint64LE(), 0x0708090A0B0C0D0EULL); + TS_ASSERT_EQUALS(ms.readUint64BE(), 0x0708090A0B0C0D0EULL); TS_ASSERT_EQUALS(ms.pos(), 14); TS_ASSERT_EQUALS(ms.readByte(), 0x0F); TS_ASSERT_EQUALS(ms.pos(), 15); @@ -97,7 +97,7 @@ class MemoryReadStreamEndianTestSuite : public CxxTest::TestSuite { TS_ASSERT_EQUALS(ms.pos(), 2); TS_ASSERT_EQUALS(ms.readUint32(), 0x06050403UL); TS_ASSERT_EQUALS(ms.pos(), 6); - TS_ASSERT_EQUALS(ms.readUint64LE(), 0x0E0D0C0B0A090807ULL); + TS_ASSERT_EQUALS(ms.readUint64(), 0x0E0D0C0B0A090807ULL); TS_ASSERT_EQUALS(ms.pos(), 14); TS_ASSERT_EQUALS(ms.readByte(), 0x0F); TS_ASSERT_EQUALS(ms.pos(), 15); @@ -112,7 +112,7 @@ class MemoryReadStreamEndianTestSuite : public CxxTest::TestSuite { TS_ASSERT_EQUALS(ms.pos(), 2); TS_ASSERT_EQUALS(ms.readUint32(), 0x03040506UL); TS_ASSERT_EQUALS(ms.pos(), 6); - TS_ASSERT_EQUALS(ms.readUint64LE(), 0x0708090A0B0C0D0EULL); + TS_ASSERT_EQUALS(ms.readUint64(), 0x0708090A0B0C0D0EULL); TS_ASSERT_EQUALS(ms.pos(), 14); TS_ASSERT_EQUALS(ms.readByte(), 0x0F); TS_ASSERT_EQUALS(ms.pos(), 15); -- cgit v1.2.3