public void DictionaryWork_AddTwoDictionaryEntries_ShouldBeCorrectSum() { DictionaryWork dictionaryWork = new DictionaryWork(); int actual = dictionaryWork.AddDictionaryEntries(1, 3); int expected = 60; Assert.AreEqual(expected, actual); }
public void DictionaryWork_AddSumOfIntList_ShouldBeCorrectValue() { DictionaryWork dictionaryWork = new DictionaryWork(); Dictionary <int, List <int> > _dictionaryChallenge = dictionaryWork.GetDictionary(); int actual = dictionaryWork.AddDictionaryEntries(1, 3); int expected = 60; Assert.AreEqual(expected, actual); }