Ejemplo n.º 1
0
        public void GetWordCount_ReturnsBothInputString_InputStringAndInputWord()
        {
            // Arrange
            string userString = "The Atlanta Braves will win the World Series this year";
            string userWord   = "win";

            // Act
            WordCount newWordCount = new WordCount(userString, userWord);

            // Assert
            Assert.Equal(userString, newWordCount.GetUserSentence());
            Assert.Equal(userWord, newWordCount.GetUserWord());
        }