Utils: Much better TypeIdValue implementation
[senf.git] / senf / Utils / TypeIdValue.test.cc
index 022041a..7f9d816 100644 (file)
@@ -29,7 +29,7 @@
 // Custom includes
 #include "TypeIdValue.hh"
 
-#include "../Utils/auto_unit_test.hh"
+#include <senf/Utils/auto_unit_test.hh>
 #include <boost/test/test_tools.hpp>
 
 #define prefix_
@@ -39,7 +39,8 @@ BOOST_AUTO_UNIT_TEST(typeIdValue)
 {
     // We don't care for the ordering, just that the following compiles
     (void) ( senf::typeIdValue<int>() < senf::typeIdValue<float>() );
-    (void) ( senf::typeIdValue<int>() == senf::typeIdValue<float>() );
+    BOOST_CHECK ( senf::typeIdValue<int>() != senf::typeIdValue<float>() );
+    BOOST_CHECK ( senf::typeIdValue<int>() == senf::typeIdValue<int>() );
 }
 
 ///////////////////////////////cc.e////////////////////////////////////////