Skip to content

Commit

Permalink
Update type_traits.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
KRM7 committed Jun 24, 2023
1 parent e610f68 commit c8a9287
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/unit/type_traits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,6 @@ TEST_CASE("is_reverse_iterator", "[type_traits]")
STATIC_REQUIRE(is_reverse_iterator_v<RevIter>);
}

TEST_CASE("iterator_value_t", "[type_traits]")
{
using Iter = std::vector<double>::iterator;
using RevIter = std::vector<double>::reverse_iterator;

STATIC_REQUIRE(std::is_same_v<iterator_value_t<Iter>, double>);
STATIC_REQUIRE(std::is_same_v<iterator_value_t<RevIter>, double>);
}

TEST_CASE("dereference", "[type_traits]")
{
using Iter = std::vector<double>::const_iterator;
Expand Down

0 comments on commit c8a9287

Please sign in to comment.