Getting closer to a subanalysis mode
[mussa.git] / alg / test / test_glseqbrowser.cpp
index 0a3f8c976204f5313d8e1dd2a5123034ba9256b2..336d0052f6c7c0b4d15f82bb8e09ad8659a2c40e 100644 (file)
@@ -2,6 +2,8 @@
 #include <boost/assign/std/vector.hpp>
 using namespace boost::assign;
 
+#include <boost/shared_ptr.hpp>
+
 #include <string>
 #include <list>
 #include <vector>
@@ -50,10 +52,10 @@ BOOST_AUTO_TEST_CASE( glseqbrowser_center )
   string s0("AAGGCCTT");
   string s1("TTGGCCAA");
   string s2("GATTACAA");
-  Sequence seq0(s0);
-  Sequence seq1(s1);
-  Sequence seq2(s2);
-  AnnotationColors cm;
+  boost::shared_ptr<Sequence> seq0(new Sequence(s0));
+  boost::shared_ptr<Sequence> seq1(new Sequence(s1));
+  boost::shared_ptr<Sequence> seq2(new Sequence(s2));
+  boost::shared_ptr<AnnotationColors> cm(new AnnotationColors);
   GlSequence glseq0(seq0, cm);
   GlSequence glseq1(seq1, cm);
   GlSequence glseq2(seq2, cm);