Unit test for the registry's hash table auto-scaling (rehashing).
This test verifies that the infix_registry_t correctly resizes its internal hash table when the load factor threshold is exceeded.
It tests:
- Data Integrity: Ensuring no types are lost during the rehash process.
- Lookup Correctness: Verifying
infix_registry_lookup_type finds items in the new bucket locations.
- Iterator Stability: Ensuring iteration visits all items after a resize.
- Cloning: Verifying that cloning a large, resized registry works.