public void GetValue_ShouldGetZero_WhenKeyDoesNotExist() { var actual = Dictionarys.GetValue(new Dictionary <Guid, decimal> { { Guid.Empty, 1 } }, Guid.NewGuid()); Assert.AreEqual(0, actual); }
public void GetValue_ShouldGetValueForMatchingkey() { var actual = Dictionarys.GetValue(new Dictionary <Guid, decimal> { { Guid.Empty, 1 } }, Guid.Empty); Assert.AreEqual(1, actual); }