Skip to content

Commit

Permalink
Merge pull request #879 from nlohmann/feature/algorithms
Browse files Browse the repository at this point in the history
✅ re-added tests for algorithms
  • Loading branch information
nlohmann committed Dec 16, 2017
2 parents 980795b + 4c871c5 commit 7bf007f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/src/unit-algorithms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ TEST_CASE("algorithms")

SECTION("set operations")
{
/*
SECTION("std::merge")
{
{
Expand All @@ -268,7 +267,6 @@ TEST_CASE("algorithms")
CHECK(j3 == json({1, 2, 2, 3, 4, 5, 6, 7, 8}));
}
}
*/

SECTION("std::set_difference")
{
Expand All @@ -290,7 +288,6 @@ TEST_CASE("algorithms")
CHECK(j3 == json({1, 2, 3, 5, 7}));
}

/*
SECTION("std::set_union")
{
json j1 = {2, 4, 6, 8};
Expand All @@ -310,7 +307,6 @@ TEST_CASE("algorithms")
std::set_symmetric_difference(j1.begin(), j1.end(), j2.begin(), j2.end(), std::back_inserter(j3));
CHECK(j3 == json({1, 3, 4, 5, 6, 7, 8}));
}
*/
}

SECTION("heap operations")
Expand Down

0 comments on commit 7bf007f

Please sign in to comment.