Skip to content

Commit

Permalink
tests sorted(chain.from_iterable(..));
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhaining committed Apr 8, 2016
1 parent 8ea611e commit ec5fc24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_mixed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,8 @@ TEST_CASE("takewhile doesn't dereference multiple times", "[imap][takewhile]") {
std::vector<int> vs(std::begin(get_vals), std::end(get_vals));
REQUIRE(vs == vsc);
}

TEST_CASE("sorted(chain.from_iterable)", "[sorted][chain.from_iterable]") {
std::vector<std::vector<int>> v = {{2,4,6}};
auto s = iter::sorted(iter::chain.from_iterable(v));
}

0 comments on commit ec5fc24

Please sign in to comment.