Lumiera  0.pre.03
»edit your freedom«
multifact-argument-test.cpp File Reference

Go to the source code of this file.

Description

unit test MultiFactArgument_test

Definition in file multifact-argument-test.cpp.

#include "lib/test/run.hpp"
#include "lib/test/test-helper.hpp"
#include "lib/format-cout.hpp"
#include "lib/multifact.hpp"
#include <functional>

Classes

class  MultiFactArgument_test
 
struct  Num
 

Typedefs

typedef std::map< prodID, function< Num(int)> > DispatcherMap
 
typedef factory::MultiFact< Num(int), prodID, factory::BuildRefcountPtr > TestFactory
 the factory instantiation used for this test
 

Enumerations

enum  prodID {
  ONE = 1,
  TWO
}
 

Functions

Num * fabricateNumberz (int base, int offset)
 dummy "factory" function to be invoked More...
 
 LAUNCHER (MultiFactArgument_test, "unit common")
 Register this test class... More...
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Class Documentation

◆ lib::test::anonymous_namespace{multifact-argument-test.cpp}::Num

struct lib::test::anonymous_namespace{multifact-argument-test.cpp}::Num
Class Members
int n_
+ Collaboration diagram for Num:

Function Documentation

◆ LAUNCHER()

lib::test::LAUNCHER ( MultiFactArgument_test  ,
"unit common"   
)

Register this test class...