public void GetPlaceValueDictionary_GetsPlaceValueDictionary_Dictionary() { TextNumber newTextNumber = new TextNumber(); List <Dictionary <int, string> > newList = newTextNumber.GetDictionaryList(); Dictionary <int, string> newDictionary = newTextNumber.GetPlaceValueDictionary(); CollectionAssert.AreEqual(newList[0], newDictionary); }
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]); }