public void GetWordCount_ReturnsInputString_InputString() { // Arrange string userString = "The Atlanta Braves will win the World Series this year"; //a man can dream right? string userWord = "win"; // Act WordCount newWordCount = new WordCount(userString, userWord); // Assert Assert.Equal(userString, newWordCount.GetUserSentence()); }
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()); }