Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaa0910 commit 7c2ef2dCopy full SHA for 7c2ef2d
unittests/basics.cpp
@@ -1949,6 +1949,8 @@ void flip_coin_cond(unsigned w) {
1949
executor.run_n(taskflow, 10000).wait();
1950
1951
REQUIRE(std::fabs(avg-32.0)<1.0);
1952
+
1953
+ taskflow.dump(std::cout);
1954
}
1955
1956
TEST_CASE("FlipCoinCond.1thread" * doctest::timeout(300)) {
unittests/sort.cpp
@@ -205,7 +205,7 @@ TEST_CASE("MergeSort" * doctest::timeout(300)) {
205
return;
206
207
208
- if(beg - end <= 5) {
+ if(end - beg <= 5) {
209
std::sort(data.begin() + beg, data.begin() + end);
210
211
0 commit comments