Skip to content

Refactor inversion and mapper tests for granularity and clarity#234

Merged
Jammy2211 merged 1 commit intomainfrom
feature/refactor-inversion-tests
Mar 10, 2026
Merged

Refactor inversion and mapper tests for granularity and clarity#234
Jammy2211 merged 1 commit intomainfrom
feature/refactor-inversion-tests

Conversation

@Jammy2211
Copy link
Owner

Summary

  • Split monolithic inversion abstract and mapper test functions into focused single-assertion tests
  • Descriptive test names encode the condition and expected result
  • Added @pytest.mark.parametrize for matrix property scenarios covering rectangular, Delaunay, and abstract mapper behaviour

Test plan

  • All 47 inversion/mapper tests pass (python -m pytest test_autoarray/inversion/inversion/test_abstract.py test_autoarray/inversion/pixelization/mappers/ -q)
  • No numerical assertion values were changed

🤖 Generated with Claude Code

Split monolithic tests into focused single-assertion tests with
descriptive names encoding condition and expected result. Add
@pytest.mark.parametrize for matrix property scenarios.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 646d94c into main Mar 10, 2026
8 checks passed
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