Beispiel #1
0
        public void Is_no_palindrome()
        {
            var fake = new FakePalindromes ();
            fake.IsPalindrome = false;

            var sut = new Head (fake);
            sut.Run (new[]{"xyz"}); // check result visually in output window
        }
Beispiel #2
0
        public void Is_a_palindrome()
        {
            var fake = new FakePalindromes ();
            fake.IsPalindrome = true;

            var sut = new Head (fake);
            sut.Run (new[]{"stressed"}); // check result visually in output window
        }