Skip to content

Commit

Permalink
Removes initializer_list tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhaining committed Apr 8, 2016
1 parent 4f332be commit 9007a26
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions test/test_accumulate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ TEST_CASE("accumulate: With subtraction lambda", "[accumulate]") {
REQUIRE(v == vc);
}

TEST_CASE("accumulate: with initializer_list works", "[accumulate]") {
auto a = accumulate({1, 2, 3});
Vec v(std::begin(a), std::end(a));
Vec vc{1, 3, 6};

REQUIRE(v == vc);
}

struct Integer {
const int value;
constexpr Integer(int i) : value{i} {}
Expand Down
7 changes: 0 additions & 7 deletions test/test_enumerate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,6 @@ TEST_CASE("enumerate with static array works", "[enumerate]") {
}
}

TEST_CASE("initializer_list works", "[enumerate]") {
auto e = enumerate({'a', 'b', 'c'});
Vec v(std::begin(e), std::end(e));
Vec vc{{0, 'a'}, {1, 'b'}, {2, 'c'}};
REQUIRE(v == vc);
}

TEST_CASE("binds reference when it should", "[enumerate]") {
BasicIterable<char> bi{'x', 'y', 'z'};
auto e = enumerate(bi);
Expand Down

0 comments on commit 9007a26

Please sign in to comment.