public void Initialize() { reversedWordFinder = new NaiveReversedWordFinder(); emptyStringList = new List<string>().AsQueryable(); emptyReversedWordPairs = new ReversedWordPair[0]; wordsWithoutReversedWords = new[] { "apple", "banana", "coconut" }; wordsWithReversedWords = new[] { "note", "eton", "tone" }; wordsWithPalindrone = new[] { "noon" }; }
public void Cleanup() { reversedWordFinder = null; emptyStringList = null; emptyReversedWordPairs = null; wordsWithoutReversedWords = null; wordsWithReversedWords = null; wordsWithPalindrone = null; }