![]() |
Lumiera 0.pre.04~rc.1
»edit your freedom«
|
unit test MultiFactArgument_test More...
Go to the source code of this file.
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>Namespaces | |
| namespace | lib |
| Implementation namespace for support and library code. | |
| namespace | lib::test |
| Unit tests for the Lumiera support library. | |
| namespace | lib::test::anonymous_namespace{multifact-argument-test.cpp} |
Typedefs | |
| typedef factory::MultiFact< Num(int), prodID, factory::BuildRefcountPtr > | TestFactory |
| the factory instantiation used for this test | |
| typedef std::map< prodID, function< Num(int)> > | DispatcherMap |
Enumerations | |
| enum | prodID { ONE = 1 , TWO } |
Classes | |
| struct | Num |
| class | MultiFactArgument_test |
Functions | |
| Num * | fabricateNumberz (int base, int offset) |
| dummy "factory" function to be invoked | |
| LAUNCHER (MultiFactArgument_test, "unit common") | |
| Register this test class... | |