nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #01720
[Bug 780607] Re: CollectionAssert for Dictionary
This seems like a good idea.
** Changed in: nunit-3.0
Status: New => Triaged
** Changed in: nunit-3.0
Importance: Undecided => Medium
--
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/780607
Title:
CollectionAssert for Dictionary
Status in NUnit Test Framework:
Triaged
Bug description:
It would be nice to have two other methods for CollectionAssert
CollectionAssert.ContainsValue(result.DisplayStrings, displayString);
instead of my current implementation
Assert.IsTrue(result.DisplayStrings.ContainsValue(displayString));
also:
CollectionAssert.ContainsKey
where result.DisplayStrings is a IDictionary
References