示例#1
0
        public void TestOneLinerJokeConversation()
        {
            Dictionary <String, String> input = new Dictionary <string, string>
            {
                { "Command", "jokes" },
            };

            CurrentConversation = new OneLinerConversation(GetConfigurationManager(), "A really funny joke here");
            Assert.AreEqual("A really funny joke here", RunSingleConversation <CashewJokesConversation>(input));
        }
示例#2
0
        public void TestOneLinerRequiredGrammars()
        {
            JokeConversation convo = new OneLinerConversation(GetConfigurationManager(), "A really funny joke");

            Assert.AreEqual(0, convo.GrammarsNeeded.Count());
        }