mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
Dictionary.Update extension method returns a bool for change state
This commit is contained in:
parent
b0aa48803b
commit
282d8e4d0e
2 changed files with 36 additions and 2 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue