C#: How would you unit test GetHashCode?

Viewed 7299

Testing the Equals method is pretty much straight forward (as far as I know). But how on earth do you test the GetHashCode method?

7 Answers
Related