26 #ifndef __TERRALIB_UNITTEST_COMMON_INTERNAL_BYTESWAPUTILS_H 27 #define __TERRALIB_UNITTEST_COMMON_INTERNAL_BYTESWAPUTILS_H 30 #include <cppunit/extensions/HelperMacros.h> 97 #endif // __TERRALIB_UNITTEST_COMMON_INTERNAL_BYTESWAPUTILS_H void tcSwapBytes()
Test Case: Swap an array of n-bytes.
void tcSwapBytes_float()
Test Case: Swap 4 bytes (float).
CPPUNIT_TEST(tcSwap2Bytes)
CPPUNIT_TEST_SUITE(TsByteSwapUtils)
void tcSwap2Bytes()
Test Case: Swap an array of 2 bytes -sizeof(<type>)== 2.
Test suite for ByteSwapUtils.
void tcSwapBytes_buint32()
Test Case: Swap 4 bytes (boost::uint32).
void tcSwap4Bytes()
Test Case: Swap an array of 4 bytes.
void tcSwapBytes_bint16()
Test Case: Swap 2 bytes (boost::int16).
void tcSwapBytes_bint32()
Test Case: Swap 4 bytes (boost::int32).
void tcSwap8Bytes()
Test Case: Swap an array of 8-bytesr.
void tcSwapBytes_double()
Test Case: Swap 8 bytes (double).