Skip to content

Add test for Bitmap.transposed() - #231

Merged
valeriyvan merged 1 commit into
mainfrom
test-transpose
Nov 5, 2025
Merged

Add test for Bitmap.transposed()#231
valeriyvan merged 1 commit into
mainfrom
test-transpose

Conversation

@valeriyvan

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive unit tests for the transposed() method of the Bitmap struct. The transposed() method returns a new transposed bitmap without mutating the original, which differs from the existing transpose() mutating method.

  • Adds unit tests for the non-mutating transposed() function
  • Tests both square and rectangular bitmap transposition
  • Verifies immutability and correctness with double-transpose

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@valeriyvan
valeriyvan merged commit 9b59861 into main Nov 5, 2025
8 checks passed
@valeriyvan
valeriyvan deleted the test-transpose branch November 5, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants