public void LongestWordTest1() { const string sentence = "A walk in the park"; const string firstLongestWord = "walk"; var longestWord = Challenges.GetLongestWord(sentence); Assert.AreEqual(longestWord, firstLongestWord); }
public void LongestWordTest2() { const string sentence = "fee fi fo fum"; const string firstLongestWord = "fee"; var longestWord = Challenges.GetLongestWord(sentence); Assert.AreEqual(longestWord, firstLongestWord); }