-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MISC] remove using namespace seqan3/test/unit/alphabet/a*-c* #1657
[MISC] remove using namespace seqan3/test/unit/alphabet/a*-c* #1657
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1657 +/- ##
=======================================
Coverage 97.67% 97.67%
=======================================
Files 237 237
Lines 9045 9045
=======================================
Hits 8835 8835
Misses 210 210 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
I added some suggestions which remove a lot of unnecessary indentations and whitespaces.
EXPECT_LT(t41, seqan3::gap{}); // * | ||
EXPECT_LT(t41, (qualified_dna_phred42{'G'_dna4, seqan3::phred42{2}})); // * | ||
EXPECT_LT(t41, (gapped_qualified_dna_phred42{qualified_dna_phred42{'G'_dna4, seqan3::phred42{2}}})); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXPECT_LT(t41, seqan3::gap{}); // * | |
EXPECT_LT(t41, (qualified_dna_phred42{'G'_dna4, seqan3::phred42{2}})); // * | |
EXPECT_LT(t41, (gapped_qualified_dna_phred42{qualified_dna_phred42{'G'_dna4, seqan3::phred42{2}}})); | |
EXPECT_LT(t41, seqan3::gap{}); // * | |
EXPECT_LT(t41, (qualified_dna_phred42{'G'_dna4, seqan3::phred42{2}})); // * | |
EXPECT_LT(t41, (gapped_qualified_dna_phred42{qualified_dna_phred42{'G'_dna4, seqan3::phred42{2}}})); |
EXPECT_EQ('C'_dna4, t41); | ||
EXPECT_EQ('C'_rna4, t41); | ||
EXPECT_EQ(seqan3::phred42{3}, t41); | ||
EXPECT_EQ((qualified_dna_phred42{'C'_dna4, seqan3::phred42{3}}), t41); | ||
EXPECT_NE(seqan3::gap{}, t41); | ||
// EXPECT_LT('A'_dna4, t41); // not supposed to work | ||
// EXPECT_LT('A'_rna4, t41); // not supposed to work | ||
// EXPECT_LT(seqan3::phred42{2}, t41); // not supposed to work | ||
EXPECT_LT((qualified_dna_phred42{'A'_dna4, seqan3::phred42{2}}), t41); // * | ||
EXPECT_GT(seqan3::gap{}, t41); // * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXPECT_EQ('C'_dna4, t41); | |
EXPECT_EQ('C'_rna4, t41); | |
EXPECT_EQ(seqan3::phred42{3}, t41); | |
EXPECT_EQ((qualified_dna_phred42{'C'_dna4, seqan3::phred42{3}}), t41); | |
EXPECT_NE(seqan3::gap{}, t41); | |
// EXPECT_LT('A'_dna4, t41); // not supposed to work | |
// EXPECT_LT('A'_rna4, t41); // not supposed to work | |
// EXPECT_LT(seqan3::phred42{2}, t41); // not supposed to work | |
EXPECT_LT((qualified_dna_phred42{'A'_dna4, seqan3::phred42{2}}), t41); // * | |
EXPECT_GT(seqan3::gap{}, t41); // * | |
EXPECT_EQ('C'_dna4, t41); | |
EXPECT_EQ('C'_rna4, t41); | |
EXPECT_EQ(seqan3::phred42{3}, t41); | |
EXPECT_EQ((qualified_dna_phred42{'C'_dna4, seqan3::phred42{3}}), t41); | |
EXPECT_NE(seqan3::gap{}, t41); | |
// EXPECT_LT('A'_dna4, t41); // not supposed to work | |
// EXPECT_LT('A'_rna4, t41); // not supposed to work | |
// EXPECT_LT(seqan3::phred42{2}, t41); // not supposed to work | |
EXPECT_LT((qualified_dna_phred42{'A'_dna4, seqan3::phred42{2}}), t41); // * | |
EXPECT_GT(seqan3::gap{}, t41); // * |
EXPECT_NE(t51, seqan3::gap{}); | ||
EXPECT_EQ(t51, seqan3::gapped<seqan3::dna4>('C'_dna4)); | ||
EXPECT_EQ(t51, seqan3::phred42{0}); // "outer" phred element | ||
EXPECT_EQ(t51, (qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{3}})); | ||
// EXPECT_LT(t51, 'G'_dna4); // not supposed to work | ||
// EXPECT_LT(t51, 'G'_rna4); // not supposed to work | ||
// EXPECT_LT(t51, seqan3::gap{}); // not supposed to work | ||
// EXPECT_LT(t51, seqan3::gapped<seqan3::dna4>('G'_dna4)); // not supposed to work | ||
EXPECT_LT(t51, seqan3::phred42{1}); | ||
EXPECT_LT(t51, (qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{4}})); | ||
|
||
EXPECT_EQ('C'_dna4, t51); | ||
EXPECT_EQ('C'_rna4, t51); | ||
EXPECT_NE(seqan3::gap{}, t51); | ||
EXPECT_EQ(seqan3::gapped<seqan3::dna4>('C'_dna4), t51); | ||
EXPECT_EQ(seqan3::phred42{0}, t51); | ||
EXPECT_EQ((qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{3}}), t51); | ||
// EXPECT_LT('A'_dna4, t51); // not supposed to work | ||
// EXPECT_LT('A'_rna4, t51); // not supposed to work | ||
// EXPECT_GT(seqan3::gap{}, t51); // not supposed to work | ||
// EXPECT_LT(seqan3::gapped<seqan3::dna4>('A'_dna4), t51); // not supposed to work | ||
EXPECT_GT(seqan3::phred42{1}, t51); | ||
EXPECT_GT((qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{4}}), t51); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXPECT_NE(t51, seqan3::gap{}); | |
EXPECT_EQ(t51, seqan3::gapped<seqan3::dna4>('C'_dna4)); | |
EXPECT_EQ(t51, seqan3::phred42{0}); // "outer" phred element | |
EXPECT_EQ(t51, (qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{3}})); | |
// EXPECT_LT(t51, 'G'_dna4); // not supposed to work | |
// EXPECT_LT(t51, 'G'_rna4); // not supposed to work | |
// EXPECT_LT(t51, seqan3::gap{}); // not supposed to work | |
// EXPECT_LT(t51, seqan3::gapped<seqan3::dna4>('G'_dna4)); // not supposed to work | |
EXPECT_LT(t51, seqan3::phred42{1}); | |
EXPECT_LT(t51, (qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{4}})); | |
EXPECT_EQ('C'_dna4, t51); | |
EXPECT_EQ('C'_rna4, t51); | |
EXPECT_NE(seqan3::gap{}, t51); | |
EXPECT_EQ(seqan3::gapped<seqan3::dna4>('C'_dna4), t51); | |
EXPECT_EQ(seqan3::phred42{0}, t51); | |
EXPECT_EQ((qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{3}}), t51); | |
// EXPECT_LT('A'_dna4, t51); // not supposed to work | |
// EXPECT_LT('A'_rna4, t51); // not supposed to work | |
// EXPECT_GT(seqan3::gap{}, t51); // not supposed to work | |
// EXPECT_LT(seqan3::gapped<seqan3::dna4>('A'_dna4), t51); // not supposed to work | |
EXPECT_GT(seqan3::phred42{1}, t51); | |
EXPECT_GT((qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{4}}), t51); | |
EXPECT_NE(t51, seqan3::gap{}); | |
EXPECT_EQ(t51, seqan3::gapped<seqan3::dna4>('C'_dna4)); | |
EXPECT_EQ(t51, seqan3::phred42{0}); // "outer" phred element | |
EXPECT_EQ(t51, (qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{3}})); | |
// EXPECT_LT(t51, 'G'_dna4); // not supposed to work | |
// EXPECT_LT(t51, 'G'_rna4); // not supposed to work | |
// EXPECT_LT(t51, seqan3::gap{}); // not supposed to work | |
// EXPECT_LT(t51, seqan3::gapped<seqan3::dna4>('G'_dna4)); // not supposed to work | |
EXPECT_LT(t51, seqan3::phred42{1}); | |
EXPECT_LT(t51, (qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{4}})); | |
EXPECT_EQ('C'_dna4, t51); | |
EXPECT_EQ('C'_rna4, t51); | |
EXPECT_NE(seqan3::gap{}, t51); | |
EXPECT_EQ(seqan3::gapped<seqan3::dna4>('C'_dna4), t51); | |
EXPECT_EQ(seqan3::phred42{0}, t51); | |
EXPECT_EQ((qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{3}}), t51); | |
// EXPECT_LT('A'_dna4, t51); // not supposed to work | |
// EXPECT_LT('A'_rna4, t51); // not supposed to work | |
// EXPECT_GT(seqan3::gap{}, t51); // not supposed to work | |
// EXPECT_LT(seqan3::gapped<seqan3::dna4>('A'_dna4), t51); // not supposed to work | |
EXPECT_GT(seqan3::phred42{1}, t51); | |
EXPECT_GT((qualified_gapped_dna_phred42{'C'_dna4, seqan3::phred42{4}}), t51); |
EXPECT_NE(t61, seqan3::gap{}); | ||
EXPECT_NE(t61, seqan3::phred42{0}); | ||
EXPECT_LT(t61, 'G'_rna4); // * | ||
EXPECT_LT(t61, 'G'_dna4); // * | ||
EXPECT_LT(t61, seqan3::gap{}); // * | ||
EXPECT_LT(t61, seqan3::phred42{1}); // * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXPECT_NE(t61, seqan3::gap{}); | |
EXPECT_NE(t61, seqan3::phred42{0}); | |
EXPECT_LT(t61, 'G'_rna4); // * | |
EXPECT_LT(t61, 'G'_dna4); // * | |
EXPECT_LT(t61, seqan3::gap{}); // * | |
EXPECT_LT(t61, seqan3::phred42{1}); // * | |
EXPECT_NE(t61, seqan3::gap{}); | |
EXPECT_NE(t61, seqan3::phred42{0}); | |
EXPECT_LT(t61, 'G'_rna4); // * | |
EXPECT_LT(t61, 'G'_dna4); // * | |
EXPECT_LT(t61, seqan3::gap{}); // * | |
EXPECT_LT(t61, seqan3::phred42{1}); // * |
EXPECT_EQ('C'_rna4, t61); | ||
EXPECT_EQ('C'_dna4, t61); | ||
EXPECT_NE(seqan3::gap{}, t61); | ||
EXPECT_NE(seqan3::phred42{0}, t61); | ||
EXPECT_LT('A'_rna4, t61); // * | ||
EXPECT_LT('A'_dna4, t61); // * | ||
EXPECT_GT(seqan3::gap{}, t61); // * | ||
EXPECT_GT(seqan3::phred42{0}, t61); // * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EXPECT_EQ('C'_rna4, t61); | |
EXPECT_EQ('C'_dna4, t61); | |
EXPECT_NE(seqan3::gap{}, t61); | |
EXPECT_NE(seqan3::phred42{0}, t61); | |
EXPECT_LT('A'_rna4, t61); // * | |
EXPECT_LT('A'_dna4, t61); // * | |
EXPECT_GT(seqan3::gap{}, t61); // * | |
EXPECT_GT(seqan3::phred42{0}, t61); // * | |
EXPECT_EQ('C'_rna4, t61); | |
EXPECT_EQ('C'_dna4, t61); | |
EXPECT_NE(seqan3::gap{}, t61); | |
EXPECT_NE(seqan3::phred42{0}, t61); | |
EXPECT_LT('A'_rna4, t61); // * | |
EXPECT_LT('A'_dna4, t61); // * | |
EXPECT_GT(seqan3::gap{}, t61); // * | |
EXPECT_GT(seqan3::phred42{0}, t61); // * |
Signed-off-by: Lydia Buntrock <[email protected]>
Signed-off-by: Lydia Buntrock <[email protected]>
6577155
to
0ffaa02
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…1657) * [MISC] Remove 'using namespace seqan3' from test/unit/alphabet/a*. * [MISC] Remove 'using namespace seqan3' from test/unit/alphabet/c*. * [MISC] style guide fixes
…1657) * [MISC] Remove 'using namespace seqan3' from test/unit/alphabet/a*. * [MISC] Remove 'using namespace seqan3' from test/unit/alphabet/c*. * [MISC] style guide fixes
Resolves #1650.