CollectionAssert Members
Include Protected Members
Include Inherited Members
Verifies true/false propositions associated with collections in unit tests.
Methods
Name
Description
Overloaded. Verifies that all elements in a specified collection are instances of a specified type.
Overloaded. Verifies that all items in a specified collection are not nulla null reference (Nothing in Visual Basic).
Overloaded. Verifies that all items in a specified collection are unique.
Overloaded. Verifies that specified collections are equal. Two collections are equal if they have the same elements in the same order and quantity. Elements are equal if their values are equal, not if they refer to the same object.
Overloaded. Verifies that the specified collections are equivalent. Two collections are equivalent if they have the same elements in the same quantity, but in any order. Elements are equal if their values are equal, not if they refer to the same object.
Overloaded. Verifies that specified collections are not equal.
Overloaded. Verifies that the specified collections are not equivalent.
Overloaded. Verifies that a specified collection contains a specified element.
Overloaded. Verifies that a specified collection does not contain a specified element.
Overloaded. Verifies that one collection is not a subset of another collection.
Overloaded. Verifies that one collection is a subset of another collection.
Top