diff options
Diffstat (limited to 'host/tests/sid_t_test.cpp')
-rw-r--r-- | host/tests/sid_t_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/tests/sid_t_test.cpp b/host/tests/sid_t_test.cpp index 85d33c45e..2a13995df 100644 --- a/host/tests/sid_t_test.cpp +++ b/host/tests/sid_t_test.cpp @@ -114,6 +114,9 @@ BOOST_AUTO_TEST_CASE(test_sid_t_set) BOOST_CHECK_EQUAL(flipped_sid.get(), (uint32_t)0x0cbc0a0b); BOOST_CHECK_EQUAL(flipped_sid.reversed(), sid); + const sid_t sid2 = sid_t(sid.get_sid()); + BOOST_CHECK_EQUAL(sid2, sid); + // In-place sid.reverse(); BOOST_CHECK_EQUAL(sid.get(), (uint32_t)0x0cbc0a0b); |