Public bug reported:

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

** Affects: nunit-3.0
     Importance: Undecided
         Status: New


** Tags: dictionary feature

-- 
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:
  New

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

_______________________________________________
Mailing list: https://launchpad.net/~nunit-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~nunit-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to