Example #1
0
        public void Test_PalindromeFailedResponse()
        {
            var sut    = new PalindromeHandling();
            var actual = sut.Handling("asdfds2A");

            // How to test if user input stops it?
            Assert.IsType <string>(actual);
            Assert.DoesNotContain("Error", actual);
            Assert.Contains("not", actual);
        }
Example #2
0
        static void Main(string[] args)
        {
            var Handler = new PalindromeHandling();

            Console.WriteLine(Handler.Handling(""));
        }