Skip to content

Hashmap test update #1025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chuckyvt
Copy link
Contributor

@chuckyvt chuckyvt commented Aug 1, 2025

As part of development work on the stdlib hashmaps, I have run into CI failures on the stdlib test that I'm not sure if it's due to code updates, or because of format of hashmap test program. For example, the way the current implantation uses transfer to generate character values, I'm not sure it's always generating valid character values. Also fypp makes it harder to develop and update the test routine as the hashmaps evolve.

This PR is an attempt to address those shortcomings. The intent is to improve test coverage of hashmap functions, improve test quality (ensure valid data is being used for key and values), and simplify the code and remove fypp preprocessor format.

chuckyvt added 4 commits July 27, 2025 23:22
This is a refactor of the main hashmap test routine to improve coverage and simplify the code.   The fypp preprocessor directives have been removed to make the code easier to work with and modify for future releases.
Addressed 132 character limit issues.
Minor cleanup
Add example of using abstract hashmap_type for procedure interrface.
@chuckyvt
Copy link
Contributor Author

chuckyvt commented Aug 2, 2025

This PR also makes the abstract hashmap_type public so that can be used for interface definition that works for both open and chaining types. I thought it was worth adding a simple example showing the use of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant