@@ -807,23 +807,17 @@ TEST_CASE("ParallelForOnIndex" * doctest::timeout(300)) {
807807 for (float end=beg; end<=10 .0f ; ++end) {
808808 for (float s=1 .0f ; s<=end-beg; s+=0 .1f ) {
809809 int n = 0 ;
810- // std::cout << "positive testcase: " << beg << ' ' << end << ' ' << s << '\n';
811810 if (beg < end) {
812811 for (float b = beg; b < end; b += s) {
813- // std::cout << b << ' ';
814812 ++n;
815813 }
816- // std::cout << std::endl;
817814 }
818815 else if (beg > end) {
819816 for (float b = beg; b > end; b += s) {
820- std::cout << b << ' ' ;
821817 ++n;
822818 }
823- // std::cout << std::endl;
824819 }
825820
826- // std::cout << "running taskflow\n";
827821 tf::Taskflow tf;
828822 std::atomic<int > counter {0 };
829823 tf.parallel_for (beg, end, s, [&] (auto ) {
@@ -843,22 +837,16 @@ TEST_CASE("ParallelForOnIndex" * doctest::timeout(300)) {
843837 for (float end=beg; end>=-10 .0f ; --end) {
844838 for (float s=1 .0f ; s<=beg-end; s+=0 .1f ) {
845839 int n = 0 ;
846- // std::cout << "negative testcase: " << beg << ' ' << end << ' ' << s << '\n';
847840 if (beg < end) {
848841 for (float b = beg; b < end; b += (-s)) {
849- // std::cout << b << ' ';
850842 ++n;
851843 }
852- // std::cout << std::endl;
853844 }
854845 else if (beg > end) {
855846 for (float b = beg; b > end; b += (-s)) {
856- // std::cout << b << ' ';
857847 ++n;
858848 }
859- // std::cout << std::endl;
860849 }
861- // std::cout << "running taskflow" << std::endl;
862850 tf::Taskflow tf;
863851 std::atomic<int > counter {0 };
864852 tf.parallel_for (beg, end, -s, [&] (auto ) {
0 commit comments