remove annot class in favor of SeqSpan
[mussa.git] / alg / test / test_annotation_color.cpp
index 4cde0ddf463b400d6e770da969c46fcb06287af6..aa06060c37deb49b2bb2356d035b3a7679297e27 100644 (file)
@@ -1,3 +1,4 @@
+#define BOOST_AUTO_TEST_MAIN
 #include <boost/test/auto_unit_test.hpp>
 
 #include "alg/annotation_colors.hpp"
@@ -25,8 +26,10 @@ BOOST_AUTO_TEST_CASE( simple_annot_colors )
   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.start = 30;
+  a.begin = 30;
   a.end = 45;
   a.type = "bleem";
   a.name = "a";
@@ -36,7 +39,8 @@ BOOST_AUTO_TEST_CASE( simple_annot_colors )
   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);
 }