load and display a motif list
[mussa.git] / alg / test / test_sequence.cpp
index 0a5cab28e87d11c06430b8cb7bd7d2dee64c683f..bbc5068d951390895bc9e79cee8373b3ffe819f5 100644 (file)
@@ -123,6 +123,8 @@ BOOST_AUTO_TEST_CASE( sequence_motifs )
     BOOST_CHECK_EQUAL( motif_i->sequence, m);
   }
 
+  s1.clear_motifs();
+  BOOST_CHECK( s1.motifs().begin() == s1.motifs().end() );
 }
 
 BOOST_AUTO_TEST_CASE( annot_test )