Skip to content

Commit

Permalink
removed NDEBUG part in container/concept.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
marehr committed Dec 7, 2017
1 parent c44c92b commit c136544
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
23 changes: 0 additions & 23 deletions include/seqan3/range/container/concept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,26 +202,3 @@ concept bool reservable_sequence_concept = requires (type val)
//!\}

} // namespace seqan3

#ifndef NDEBUG
/* Check the STL containers */

#include <vector>
#include <array>
#include <list>
#include <forward_list>
#include <deque>
#include <string>

static_assert(seqan3::container_concept<std::array<char, 2>>);
static_assert(seqan3::sequence_concept<std::list<char>>);
static_assert(seqan3::random_access_sequence_concept<std::vector<char>>);
static_assert(seqan3::random_access_sequence_concept<std::deque<char>>);
static_assert(seqan3::random_access_sequence_concept<std::string>);

/* Check the SDSL containers */
//TODO

/* Check our containers */
//TODO
#endif
6 changes: 6 additions & 0 deletions test/range/container/container_concept_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ TEST(container_concept, reservable_sequence_concept)
EXPECT_FALSE((seqan3::reservable_sequence_concept<std::deque<char>>));
EXPECT_TRUE((seqan3::reservable_sequence_concept<std::string>));
}

/* Check the SDSL containers */
//TODO

/* Check our containers */
//TODO

0 comments on commit c136544

Please sign in to comment.