private void GenerateConversation() { var conversation = _conversationManager.ConversationGenerator(_converseData.General, _converseData.ConversationPartnerTaskData.General); _converseData.Speech = conversation[_converseData.General]; _converseData.ConversationPartnerTaskData.Speech = conversation[_converseData.ConversationPartnerTaskData.General]; }
public void TestingTestSimplePasses() { Mock <IGeneral> general1 = new Mock <IGeneral>(); general1.Setup(x => x.GetKnowledge()).Returns(10); general1.Setup(x => x.GetTrust()).Returns(10); Mock <IGeneral> general2 = new Mock <IGeneral>(); general2.Setup(x => x.GetKnowledge()).Returns(10); general2.Setup(x => x.GetTrust()).Returns(10); ConversationManager conversationManager = ConversationManager.Instance(); conversationManager.ConversationGenerator(general1.Object, general2.Object); }