![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Classes | |
| struct | TestPOA |
| Test dummy record, representing either a provision or an request. More... | |
Functions | |
| std::vector< TestPOA > | testEntries (MAX_TEST_ENTRIES) |
| TestPOA & | _entry (uint id, Literal spec) |
| convenience shortcut for writing testcases inline | |
| bool | _hasSolution (uint req, uint prov) |
| check if the given request got the denoted solution | |
| bool | _hasDefault (uint req) |
| check if the given request holds a default solution | |
Variables | |
| const uint | MAX_TEST_ENTRIES = 10 |
| std::vector< TestPOA > testEntries | ( | MAX_TEST_ENTRIES | ) |
References testEntries().
Referenced by _entry(), _hasDefault(), _hasSolution(), and testEntries().
Here is the call graph for this function:
Here is the caller graph for this function:convenience shortcut for writing testcases inline
Definition at line 91 of file advice-index-test.cpp.
References _entry(), lumiera::advice::matches(), and testEntries().
Referenced by _entry().
Here is the call graph for this function:
Here is the caller graph for this function:check if the given request got the denoted solution
Definition at line 103 of file advice-index-test.cpp.
References _hasSolution(), and testEntries().
Referenced by _hasSolution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
check if the given request holds a default solution
Definition at line 113 of file advice-index-test.cpp.
References _hasDefault(), NULL, and testEntries().
Referenced by _hasDefault().
Here is the call graph for this function:
Here is the caller graph for this function:| const uint MAX_TEST_ENTRIES = 10 |
Definition at line 83 of file advice-index-test.cpp.