Added unit testing framework
[libdai.git] / tests / unit / var.cpp
1 #define BOOST_TEST_DYN_LINK
2
3 #include <dai/var.h>
4
5 using namespace dai;
6
7 #define BOOST_TEST_MODULE MyTest
8
9 #include <boost/test/unit_test.hpp>
10
11 BOOST_AUTO_TEST_CASE( my_test ) {
12 Var x( 0, 2 );
13 BOOST_CHECK( x.states() == 2 );
14 }