Fawkes API Fawkes Development Version
SimpleCLIPSTest Class Reference

Simple Test class that shows how to do unit testing for CLIPS. More...

Inheritance diagram for SimpleCLIPSTest:

Protected Member Functions

virtual void SetUp ()
 Set up the test environment. More...
 
virtual void SetUp ()
 Set up the test environment. More...
 
- Protected Member Functions inherited from CLIPSTest
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...
 
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...
 

Additional Inherited Members

- Protected Attributes inherited from CLIPSTest
CLIPS::Environment env
 The default CLIPS environment used to run tests. More...
 

Detailed Description

Simple Test class that shows how to do unit testing for CLIPS.

Definition at line 24 of file test_example.cpp.

Member Function Documentation

◆ SetUp() [1/2]

virtual void SimpleCLIPSTest::SetUp ( )
inlineprotectedvirtual

Set up the test environment.

Definition at line 29 of file test_example.cpp.

References CLIPSTest::LoadCLIPSFiles().

◆ SetUp() [2/2]

virtual void SimpleCLIPSTest::SetUp ( )
inlineprotectedvirtual

Set up the test environment.

Definition at line 29 of file test_example.cpp.

References CLIPSTest::LoadCLIPSFiles().


The documentation for this class was generated from the following files: