public void AddDictionariesToList_AddDictionariesToList_Dictionary() { TextNumber newTextNumber = new TextNumber(); newTextNumber.AddDictionariesToList(); Dictionary <int, string> newDictionary = newTextNumber.GetOnesDictionary(); List <Dictionary <int, string> > newList = newTextNumber.GetDictionaryList(); CollectionAssert.AreEqual(newDictionary, newList[0]); }