Skip to content
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

Tests: add partial_name_map_composite fixture #177

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

chr5tphr
Copy link
Owner

  • creates a random (but seeded) partial name_map by the actual associations (i.e. one name to one rule)
  • this is used to corretly test MixedComposites/NameLayerMapComposites to fall back to the LayerMap

TODO:

  • finish tests

@chr5tphr chr5tphr force-pushed the tests-mixed-composite-partial-name-map branch from 0eec5a6 to 77fbb1b Compare February 16, 2023 16:53
- the partial_name_map_composites fixture creates a random (but seeded)
  partial name_map by the actual associations (i.e. one name to one
  rule)
- this is used to correctly test MixedComposites/NameLayerMapComposites
  to fall back to the LayerMap
- add pyrng fixture, based on the same seed as the numpy RNG
- removed unneeded input fixtures for some fixtures in conftest.py
@chr5tphr chr5tphr force-pushed the tests-mixed-composite-partial-name-map branch from 77fbb1b to a7e759d Compare February 16, 2023 16:59
@chr5tphr chr5tphr marked this pull request as ready for review February 16, 2023 17:19
@chr5tphr chr5tphr merged commit 3121bb2 into master Feb 16, 2023
@chr5tphr chr5tphr deleted the tests-mixed-composite-partial-name-map branch February 16, 2023 17:19
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.

None yet

1 participant