Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 86e25919 authored by Mikaël Salson's avatar Mikaël Salson

algo/tests: Use TAP_TEST_EQUAL in a few more places

parent 1d83f45a
......@@ -146,8 +146,8 @@ void testAffectAnalyser2() {
TAP_TEST(kaa.getDistinctAffectations().size() == 3, TEST_AA_GET_DISTINCT_AFFECT, "");
TAP_TEST(ckaa.max(forbidden) == KmerAffect(seq[2*(nb_seq-1)+1], -1, k),
TEST_COUNT_AA_MAX, "max is " << ckaa.max(forbidden));
TAP_TEST_EQUAL(ckaa.max(forbidden), KmerAffect(seq[2*(nb_seq-1)+1], -1, k),
TAP_TEST(ckaa.max() == KmerAffect::getUnknown(),
TEST_COUNT_AA_MAX, "max is " << ckaa.max());
......@@ -81,10 +81,10 @@ void testRevcompRepresentative() {
size_t pos1 = representative.label.find_first_of('[');
size_t pos2 = representative2.label.find_first_of('[');
TAP_TEST(representative.label.substr(0, pos1) == representative2.label.substr(0, pos2), TEST_KMER_REPRESENTATIVE_REVCOMP,
TAP_TEST_EQUAL(representative.label.substr(0, pos1), representative2.label.substr(0, pos2), TEST_KMER_REPRESENTATIVE_REVCOMP,
"The two representatives should have the same label");
TAP_TEST(revcomp(representative.sequence) == representative2.sequence, TEST_KMER_REPRESENTATIVE_REVCOMP,
"The two representatives should have the same sequence (but revcomp-ed)");
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment