Commit 4159f345 authored by Carsten Kemena's avatar Carsten Kemena

test changes

parent 342217c4
Pipeline #683 failed with stages
in 1 minute and 14 seconds
......@@ -175,7 +175,7 @@ BOOST_AUTO_TEST_CASE(Collapse_check)
da.emplace_back("A", 1, 40, 0.4, BioSeqDataLib::DomainDB::pfam);
da.emplace_back("A", 100, 101, 0.4, BioSeqDataLib::DomainDB::pfam);
da.emplace_back("C", 1000, 3000, 0.4, BioSeqDataLib::DomainDB::pfam);
da.collapse();
da.collapse(false);
BOOST_CHECK_EQUAL(da.size(), 2);
BOOST_CHECK_EQUAL(da[0].accession(), "A");
BOOST_CHECK_EQUAL(da[1].accession(), "C");
......@@ -188,7 +188,7 @@ BOOST_AUTO_TEST_CASE(Collapse_check)
da2.emplace_back("PF00008", 100, 101, 0.4, BioSeqDataLib::DomainDB::pfam);
da2.emplace_back("PF00009", 1000, 3000, 0.4, BioSeqDataLib::DomainDB::pfam);
da2.emplace_back("PF00010", 10000, 30000, 0.4, BioSeqDataLib::DomainDB::pfam);
da2.collapse();
da2.collapse(false);
BOOST_CHECK_EQUAL(da2[1].accession(), "PF00008");
BOOST_CHECK_EQUAL(da2.size(), 4);
BOOST_CHECK_EQUAL(da2.str(), "PF00007-PF00008-PF00009-PF00010");
......@@ -200,7 +200,7 @@ BOOST_AUTO_TEST_CASE(Collapse_check)
da3.emplace_back("PF00009", 1000, 3000, 0.4, BioSeqDataLib::DomainDB::pfam);
da3.emplace_back("PF00010", 10000, 30000, 0.4, BioSeqDataLib::DomainDB::pfam);
da3.emplace_back("PF00010", 300000, 3000000, 0.4, BioSeqDataLib::DomainDB::pfam);
da3.collapse();
da3.collapse(false);
BOOST_CHECK_EQUAL(da3[1].accession(), "PF00008");
BOOST_CHECK_EQUAL(da3.size(), 4);
BOOST_CHECK_EQUAL(da3.str(), "PF00007-PF00008-PF00009-PF00010");
......
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