Fawkes API
Fawkes Development Version
|
Test setup for domain tests. More...
Protected Member Functions | |
virtual void | SetUp () |
Set up the test environment. More... | |
![]() | |
virtual void | LoadCLIPSFiles (std::vector< std::string > files) |
Load the vector of CLIPS files into the environment. More... | |
bool | has_fact (const std::string &fact_set_template, const std::string &query="TRUE") |
Check if a non-ordered fact exists. More... | |
bool | has_ordered_fact (const std::string &fact_name, const std::vector< CLIPS::Value > slot_values={}) |
Check if an ordered fact exists. More... | |
Protected Attributes | |
vector< string > | clips_files = {"../../../clips/clips/utils.clp", "../plan.clp", "../domain.clp"} |
These files are loaded during setup by default. More... | |
![]() | |
CLIPS::Environment | env |
The default CLIPS environment used to run tests. More... | |
Test setup for domain tests.
Definition at line 30 of file test_domain.cpp.
|
inlineprotectedvirtual |
Set up the test environment.
Reimplemented in ConditionalSayDomainTest, and BlocksworldDomainTest.
Definition at line 35 of file test_domain.cpp.
Referenced by BlocksworldDomainTest::SetUp(), and ConditionalSayDomainTest::SetUp().
|
protected |
These files are loaded during setup by default.
Definition at line 45 of file test_domain.cpp.