X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=alg%2Ftest%2Ftest_flp.cpp;h=54aa76a9ad18d6495ae01c77cf328f4a2c4cc05f;hb=HEAD;hp=4706e8de6af5b46511f7d4f0cbd09887be8a974b;hpb=a7f4b71a7d7de34dd2b1cd51d0ac1051885f87d3;p=mussa.git diff --git a/alg/test/test_flp.cpp b/alg/test/test_flp.cpp index 4706e8d..54aa76a 100644 --- a/alg/test/test_flp.cpp +++ b/alg/test/test_flp.cpp @@ -1,7 +1,10 @@ +#define BOOST_TEST_DYN_LINK +#define BOOST_TEST_MODULE test_flp +#include + #include #include -#include #include #include namespace fs = boost::filesystem; @@ -88,13 +91,13 @@ BOOST_AUTO_TEST_CASE( flp_reverse_compliment ) Sequence s1("AAAATTTT"); Sequence s2("AACAGGGG"); f1.setup(4,3); - f1.seqcomp(s1.get_seq(), s2.get_seq(), false); - f1.seqcomp(s1.get_seq(), s2.rev_comp(), true); + f1.seqcomp(s1, s2, false); + f1.seqcomp(s1, s2.rev_comp(), true); FLPs f2; f2.setup(4,3); - f2.seqcomp(s1.get_seq(), s2.rev_comp(), true); - f2.seqcomp(s1.get_seq(), s2.get_seq(), false); + f2.seqcomp(s1, s2.rev_comp(), true); + f2.seqcomp(s1, s2, false); // The order of doing the reverse compliment search shouldn't matter // when we're using exactly the same sequence