public void GivenIHaveDictionaryContainingTheWordsFoo(string word) { words = new HashSet<string>(); foreach (string singleWord in word.Split(',')) { words.Add(singleWord.Trim()); } anagrams = new Anagrams(words); }
public void GivenAnEmptyDictionary() { words = new HashSet<string>(); anagrams = new Anagrams(words); }