Dictionary.Update extension method returns a bool for change state

This commit is contained in:
Chris Cameron
2018-02-22 16:56:10 -05:00
parent b0aa48803b
commit 282d8e4d0e
2 changed files with 36 additions and 2 deletions

View File

@@ -168,7 +168,8 @@ namespace ICD.Common.Utils.Tests.Extensions
{3, 30}
};
a.Update(b);
Assert.IsTrue(a.Update(b));
Assert.IsFalse(a.Update(b));
Assert.AreEqual(3, a.Count);
Assert.AreEqual(10, a[1]);