Commit 1a4d2b7b authored by Mikaël Salson's avatar Mikaël Salson

Tests: test getMaximum() when maxOverlap is greater than k

parent dae1b805
......@@ -174,6 +174,9 @@ void testGetMaximum() {
<< ", " << results.last_pos_max << ")");
TAP_TEST(results.max_value == 2, TEST_AA_GET_MAXIMUM_VALUE, "");
affect_infos results2 = kaa.getMaximum(AFFECT_J_BWD, AFFECT_V_BWD, 1., k+5);
TAP_TEST(results == results2, TEST_AA_GET_MAXIMUM_VALUE, "");
KmerAffect a2[] = {AFFECT_V, AFFECT_V, AFFECT_V, AFFECT_V, AFFECT_V,
AFFECT_V, AFFECT_V, AFFECT_V, AFFECT_V, AFFECT_V,
AFFECT_J, AFFECT_J, AFFECT_J,
......
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