public void MyTestInitialize() { KB.Clear(); KB.Assert( KB.Store + "Newt" + "loves" + "Newt", KB.Store + "John" + "loves" + "Mary", KB.Store + "John" + "loves" + "Kelly", KB.Store + "John" + "loves" + "Mary", KB.Store + "Kelly" + "loves" + "Mary" ); }
public virtual void RemoveAll() { if (AllowToUpdate == false) { throw new Exception("The Knowledge Base is locked"); } // fire event if (OnBeforeClearKnowledgeBase(null) == false) { return; } // clear KB KB.Clear(); // fire event OnClearKnowledgeBase(null); }
public void MyTestCleanup() { KB.Clear(); }
public void ClearKB() { KB.Clear(); }