Skip to content

Add repr methods for Monopoly#159

Merged
alexanderthclark merged 1 commit into
mainfrom
codex/implement-__repr__-and-_repr_latex_-methods
May 3, 2026
Merged

Add repr methods for Monopoly#159
alexanderthclark merged 1 commit into
mainfrom
codex/implement-__repr__-and-_repr_latex_-methods

Conversation

@alexanderthclark
Copy link
Copy Markdown
Owner

@alexanderthclark alexanderthclark commented Jul 24, 2025

Summary

  • Refresh PR Add repr methods for Monopoly #159 against current main with one clean commit.
  • Add concise terminal and notebook representations for Monopoly.
  • Use the idiomatic text format Monopoly: Q = 4, P = 6, Profit = 16 with :g numeric formatting.
  • Add Monopoly-specific coverage in tests/test_monopoly.py.

Testing

  • pytest -q tests/test_monopoly.py -> 7 passed, 1 warning
  • pytest -q tests/test_repr_methods.py -> 8 passed, 3 warnings
  • pytest -q -> 137 passed, 2 warnings

@alexanderthclark alexanderthclark force-pushed the codex/implement-__repr__-and-_repr_latex_-methods branch from 7903033 to 5c403ad Compare May 3, 2026 17:18
@alexanderthclark alexanderthclark merged commit 03ac4e2 into main May 3, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant