 | EqualsTesterTestEquals Method |
Tests the correct equality of the added items.
Namespace: Capgemini.CommonObjectUtils.TestingAssembly: Capgemini.CommonObjectUtils (in Capgemini.CommonObjectUtils.dll) Version: 1.3.0.0
Syntaxpublic:
void TestEquals()
member TestEquals : unit -> unit
Exceptions
Remarks
The method makes the following checks.
- All items in the tester equal themselves.
- None of the items in the tester equal null.
- All items in each equality group equal each other.
- None of the items equal an item in any other equality group.
- All items in each equality group have the same hash code.
- All items return the same hash code if called more than once.
See Also