forked from boostorg/endian
Add more tests to endian_reverse_test3/4
This commit is contained in:
1 parent
62091e5d0c
commit
d46d2916a8
2 files changed
+22
-1
No files matched your search
@@ -15,7 +15,14 @@ template<class T> void test_reverse_inplace( T x )
|
||||
|
||||
endian_reverse_inplace( x2 );
|
||||
endian_reverse_inplace( x2 );
|
||||
BOOST_TEST( x == x2 );
|
||||
|
||||
boost::endian::native_to_little_inplace( x2 );
|
||||
boost::endian::little_to_native_inplace( x2 );
|
||||
BOOST_TEST( x == x2 );
|
||||
|
||||
boost::endian::native_to_big_inplace( x2 );
|
||||
boost::endian::big_to_native_inplace( x2 );
|
||||
BOOST_TEST( x == x2 );
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user