Skip to content

I've reorganized the repository, added tests, and updated the documen…#5

Merged
JacobBorden merged 1 commit intodevelopmentfrom
repo-reorg-and-tests
May 26, 2025
Merged

I've reorganized the repository, added tests, and updated the documen…#5
JacobBorden merged 1 commit intodevelopmentfrom
repo-reorg-and-tests

Conversation

@JacobBorden
Copy link
Owner

…tation.

Here's a summary of the major changes:

  • I reorganized the file structure by moving bitmap.h and bitmap.cpp to src/bitmap/ and integrating the matrix and bitmapfile modules directly into src/.
  • I added comprehensive unit tests for the Bitmap::File module (in src/bitmapfile) and the Matrix module (in src/matrix).
  • I refactored the Matrix class by implementing correct copy/move semantics (Rule of Five), fixing operator signatures and behaviors, and adding missing constructors and utility methods (for example, for 0x0 matrices).
  • I fixed bugs in Bitmap::File, including correcting the handling of pixel data padding in the Open() and Save() methods and ensuring biSizeImage is calculated and used correctly.
  • I updated the documentation: README.md now reflects the new structure and module locations, and CHANGELOG.md details the reorganization and new additions.
  • I ensured all CMakeLists.txt files are updated for the new structure.

All 59 unit tests are passing after these changes.

…tation.

Here's a summary of the major changes:
- I reorganized the file structure by moving `bitmap.h` and `bitmap.cpp` to `src/bitmap/` and integrating the matrix and bitmapfile modules directly into `src/`.
- I added comprehensive unit tests for the Bitmap::File module (in `src/bitmapfile`) and the Matrix module (in `src/matrix`).
- I refactored the Matrix class by implementing correct copy/move semantics (Rule of Five), fixing operator signatures and behaviors, and adding missing constructors and utility methods (for example, for 0x0 matrices).
- I fixed bugs in Bitmap::File, including correcting the handling of pixel data padding in the `Open()` and `Save()` methods and ensuring `biSizeImage` is calculated and used correctly.
- I updated the documentation: `README.md` now reflects the new structure and module locations, and `CHANGELOG.md` details the reorganization and new additions.
- I ensured all `CMakeLists.txt` files are updated for the new structure.

All 59 unit tests are passing after these changes.
@JacobBorden JacobBorden merged commit 9af3a64 into development May 26, 2025
1 check passed
@JacobBorden JacobBorden deleted the repo-reorg-and-tests branch May 26, 2025 23:14
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