-#define BOOST_AUTO_TEST_MAIN
-#include <boost/test/auto_unit_test.hpp>
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE test_annotation_color
+#include <boost/test/unit_test.hpp>
#include "alg/annotation_colors.hpp"
#include "alg/color.hpp"
BOOST_CHECK_EQUAL( ac.lookup("bleem", "foo"), black );
BOOST_CHECK_EQUAL( ac.lookup("venchent", "a"), white );
+ /*
+ // Removed as we're phasing out the annot and annotation colors classes
annot a;
a.begin = 30;
a.end = 45;
BOOST_CHECK_EQUAL( ac.lookup(a), black );
a.type = "venchent";
BOOST_CHECK_EQUAL( ac.lookup(a), white );
-
+ */
+
ac.clear();
BOOST_CHECK_EQUAL( ac.lookup("bleem", "a"), black);
}