コード例 #1
0
 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" };
 }
コード例 #2
0
        public void Cleanup()
        {
            reversedWordFinder = null;
            emptyStringList = null;

            emptyReversedWordPairs = null;
            wordsWithoutReversedWords = null;
            wordsWithReversedWords = null;
            wordsWithPalindrone = null;
        }