CollectionAssert Methods
Visual Studio 2008
| Name | Description | |
|---|---|---|
|
AllItemsAreInstancesOfType | Overloaded. Verifies that all elements in a specified collection are instances of a specified type. |
|
AllItemsAreNotNull | Overloaded. Verifies that all items in a specified collection are not null. |
|
AllItemsAreUnique | Overloaded. Verifies that all items in a specified collection are unique. |
|
AreEqual | 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. |
|
AreEquivalent | 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. |
|
AreNotEqual | Overloaded. Verifies that specified collections are not equal. |
|
AreNotEquivalent | Overloaded. Verifies that the specified collections are not equivalent. |
|
Contains | Overloaded. Verifies that a specified collection contains a specified element. |
|
DoesNotContain | Overloaded. Verifies that a specified collection does not contain a specified element. |
|
IsNotSubsetOf | Overloaded. Verifies that one collection is not a subset of another collection. |
|
IsSubsetOf | Overloaded. Verifies that one collection is a subset of another collection. |