Lumiera  0.pre.03
»edit your freedom«
work-force-test.cpp File Reference

Go to the source code of this file.

Description

unit test WorkForce_test

Definition in file work-force-test.cpp.

#include "lib/test/run.hpp"
#include "vault/gear/work-force.hpp"
#include "lib/thread.hpp"
#include "lib/sync.hpp"
#include <functional>
#include <thread>
#include <chrono>
#include <set>

Classes

class  WorkForce_test
 

Typedefs

using FinalFun = std::function< work::SIG_FinalHook >
 
using WorkFun = std::function< work::SIG_WorkFun >
 

Functions

 LAUNCHER (WorkForce_test, "unit engine")
 Register this test class... More...
 
template<class FUN >
auto setup (FUN &&workFun)
 Helper: setup a Worker-Pool configuration for the test. More...
 

Namespaces

 vault
 Vault-Layer implementation namespace root.
 
 vault::gear
 Active working gear and plumbing.
 

Function Documentation

◆ LAUNCHER()

vault::gear::test::LAUNCHER ( WorkForce_test  ,
"unit engine"   
)

Register this test class...