Exemplo n.º 1
0
        public void ReverseWordMethod_String_ReturnsStringWithWordsInReverseOrder(string input, string expected)
        {
            var actual = WordReverser.ReverseWords(input);

            Assert.AreEqual(actual, expected);
        }
Exemplo n.º 2
0
        public void ReverseASingleWord()
        {
            var reversed = _wordReverser.ReverseWords("foo");

            Assert.Equal("oof", reversed);
        }