Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
HashSetCollision1 should never have a single entry #6198
A set with one element should not be represented as a HashSetCollision1. If there is only one element, there can not be a collision, right?
In the example below, y should be an instance of HashSet1 instead of HashSetCollision1.
// generate hash set with a hash collision