From ec3aacd1325847fb22eb1a94ea2148a1c54b11f5 Mon Sep 17 00:00:00 2001 From: Beman Date: Sun, 12 May 2013 10:55:18 -0400 Subject: [PATCH] Remove cruft left over from refactoring. --- test/converter_test.cpp | 64 ----------------------------------------- 1 file changed, 64 deletions(-) diff --git a/test/converter_test.cpp b/test/converter_test.cpp index c98bdec..609e8bb 100644 --- a/test/converter_test.cpp +++ b/test/converter_test.cpp @@ -20,70 +20,6 @@ using std::endl; namespace { - - const boost::int64_t ni64 = 0x0102030405060708LL; -# ifdef BOOST_BIG_ENDIAN - const boost::int64_t bi64 = 0x0102030405060708LL; - const boost::int64_t li64 = 0x0807060504030201LL; -# else - const boost::int64_t bi64 = 0x0807060504030201LL; - const boost::int64_t li64 = 0x0102030405060708LL; -# endif - - const boost::int32_t ni32 = 0x01020304; -# ifdef BOOST_BIG_ENDIAN - const boost::int32_t bi32 = 0x01020304; - const boost::int32_t li32 = 0x04030201; -# else - const boost::int32_t bi32 = 0x04030201; - const boost::int32_t li32 = 0x01020304; -# endif - - const boost::int16_t ni16 = 0x0102; -# ifdef BOOST_BIG_ENDIAN - const boost::int16_t bi16 = 0x0102; - const boost::int16_t li16 = 0x0201; -# else - const boost::int16_t bi16 = 0x0201; - const boost::int16_t li16 = 0x0102; -# endif - - const boost::int16_t ni16hi = static_cast(0xf1f2U); -# ifdef BOOST_BIG_ENDIAN - const boost::int16_t bi16hi = static_cast(0xf1f2U); - const boost::int16_t li16hi = static_cast(0xf2f1U); -# else - const boost::int16_t bi16hi = static_cast(0xf2f1U); - const boost::int16_t li16hi = static_cast(0xf1f2U); -# endif - - const boost::uint64_t nui64 = 0x0102030405060708ULL; -# ifdef BOOST_BIG_ENDIAN - const boost::uint64_t bui64 = 0x0102030405060708ULL; - const boost::uint64_t lui64 = 0x0807060504030201ULL; -# else - const boost::uint64_t bui64 = 0x0807060504030201ULL; - const boost::uint64_t lui64 = 0x0102030405060708ULL; -# endif - - const boost::uint32_t nui32 = 0x01020304; -# ifdef BOOST_BIG_ENDIAN - const boost::uint32_t bui32 = 0x01020304; - const boost::uint32_t lui32 = 0x04030201; -# else - const boost::uint32_t bui32 = 0x04030201; - const boost::uint32_t lui32 = 0x01020304; -# endif - - const boost::uint16_t nui16 = 0x0102; -# ifdef BOOST_BIG_ENDIAN - const boost::uint16_t bui16 = 0x0102; - const boost::uint16_t lui16 = 0x0201; -# else - const boost::uint16_t bui16 = 0x0201; - const boost::uint16_t lui16 = 0x0102; -# endif - // values for tests void native_value(int16_t& x) {x = static_cast(0xF102U);}