Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Ask a question");
            var userText = Console.ReadLine();
            var bot      = new CoreBot();

            bot.Add("Cause your mom is gay");
            var response = bot.PickResponse(userText);

            Console.WriteLine(response);
            Console.ReadKey();
        }
Exemplo n.º 2
0
        public void SkipACurse()
        {
            var bot = new CoreBot();

            bot.Add("Because you mum is gay");

            var ourLine        = "Are you doing this to me?";
            var actualResponse = bot.PickResponse(ourLine);

            var expectedResponse = "";

            Assert.AreEqual(expectedResponse, actualResponse);
        }