[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/yhcpp/taskflow/master/unittests/algorithm.cpp [Back]  [Original]

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include 

#include 
#include 
#include 
#include 
#include 
#include 

// --------------------------------------------------------
// Testcase: for_each
// --------------------------------------------------------

enum TYPE {
  GUIDED,
  DYNAMIC,
  STATIC
};

void for_each(unsigned W, TYPE) {

  tf::Executor executor(W);
  tf::Taskflow taskflow;
  
  std::vector vec(1024);
  for(int n = 0; n 

Web Proxy Viewer  |  New URL  |  Original Page