Extended SWIG python interface (inspired by Kyle Ellrott): inference is possible...
[libdai.git] / tests / unit / var_test.cpp
index b1c0929..84bb131 100644 (file)
@@ -67,4 +67,5 @@ BOOST_AUTO_TEST_CASE( StreamTest ) {
     std::string s;
     ss >> s;
     BOOST_CHECK_EQUAL( s, "x5" );
+    BOOST_CHECK_EQUAL( x.toString(), s );
 }