Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More tests for assigning to keys %hash
Change some calls from is()/isnt() to cmp_ok() to confirm that values change in the expected direction, rather than merely being "different". Re-order some calls to is()/cmp_ok() so that the "expected" value is second. Don't assume that a hash can always hold `num_buckets()/2` keys. (The test had previously assumed that assigning this value to keys wouldn't change the hash size. Instead use the current number of keys, as clearly the hash is already holding that many keys.)
- Loading branch information