Skip to content

Commit

Permalink
[TEST] for trivial
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Jun 25, 2022
1 parent 901c019 commit d678fe0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/alphabet/aminoacid/aminoacid_test_template.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ TYPED_TEST_SUITE_P(aminoacid);

TYPED_TEST_P(aminoacid, concept_check)
{
EXPECT_TRUE(std::is_trivial_v<TypeParam>);

EXPECT_TRUE(seqan3::aminoacid_alphabet<TypeParam>);
EXPECT_TRUE(seqan3::aminoacid_alphabet<TypeParam &>);
EXPECT_TRUE(seqan3::aminoacid_alphabet<TypeParam const>);
Expand Down
2 changes: 2 additions & 0 deletions test/unit/alphabet/nucleotide/nucleotide_test_template.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ TYPED_TEST_SUITE_P(nucleotide);

TYPED_TEST_P(nucleotide, concept_check)
{
EXPECT_TRUE(std::is_trivial_v<TypeParam>);

EXPECT_TRUE(seqan3::nucleotide_alphabet<TypeParam>);
EXPECT_TRUE(seqan3::nucleotide_alphabet<TypeParam &>);
EXPECT_TRUE(seqan3::nucleotide_alphabet<TypeParam const>);
Expand Down
2 changes: 2 additions & 0 deletions test/unit/alphabet/quality/phred_test_template.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ TYPED_TEST_SUITE_P(phred);
// test provision of data type `phred_type` and phred converter.
TYPED_TEST_P(phred, concept_check)
{
EXPECT_TRUE(std::is_trivial_v<TypeParam>);

EXPECT_TRUE(seqan3::quality_alphabet<TypeParam>);
EXPECT_TRUE(seqan3::quality_alphabet<TypeParam &>);
EXPECT_TRUE(seqan3::quality_alphabet<TypeParam const>);
Expand Down

0 comments on commit d678fe0

Please sign in to comment.