[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/gicho/cpp-taskflow/master/unittest/taskflow.cpp [Back]  [Original]

#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN

#include 

#include 
#include 
#include 
#include 
#include 

// --------------------------------------------------------
// Testcase: Builder
// --------------------------------------------------------
TEST_CASE("Builder" * doctest::timeout(300)) {

  const size_t num_tasks = 100;

  tf::Taskflow taskflow;
  tf::Executor executor;

  std::atomic counter {0};
  std::vector silent_tasks;
  std::vector tasks;

  SUBCASE("Empty") {
    for(size_t W=0; W

Web Proxy Viewer  |  New URL  |  Original Page