KinsonDigital / Velaptor

2D game development framework
https://docs.velaptor.io
MIT License
70 stars 16 forks source link

🚧Refactor moq code to nsubstitute #941

Closed CalvinWilkinson closed 4 months ago

CalvinWilkinson commented 4 months ago

Description:

To allow this pull request to be merged, please make sure that the following items of this pull request are complete.

This pull request closes #882

✅The pull request head branch must be a feature branch with the syntax 'feature/-sync-testing'.
✅The pull request base branch must be a 'main' or 'preview' branch..
✅The pull request head branch contains a valid issue number.
✅The pull request title matches the linked issue title exactly.
✅The pull request assignees match the assignees of the issue.
✅The pull request labels match the labels of the issue.
✅The pull request organizational projects match the organizational projects of the issue.
✅The pull requests milestone matches the milestone of the issue.


Additional Info:

  1. Pull requests are automatically synced with the associated issue upon creation by one of the KinsonDigital workflow bots.
  2. The associated issue is the issue number that is embedded in the pull request head branch.
  3. The list above will be automatically updated as the pull request's various settings match or do not match the associated issue.
  4. To manually sync the pull request to the issue, create a comment with the [run-sync] command.

    Note You must be an admin member of the organization to use this command.


CalvinWilkinson commented 4 months ago

[!Note] Fixed the following https://github.com/KinsonDigital/Velaptor/labels/%F0%9F%90%9Bbug 's

  1. Fixed a bug where invoking the ImageData.FlipHorizontally() method would throw a null reference exception when an instance of ImageData struct was created via a default constructor or the default keyword.
  2. Fixed a bug where invoking the ImageData.FlipVertically() method would throw a null reference exception when an instance of ImageData struct was created via a default constructor or the default keyword.
CalvinWilkinson commented 4 months ago

[!Warning] Introduced the following https://github.com/KinsonDigital/Velaptor/labels/%F0%9F%A7%A8breaking%20changes

  1. Removed the width and height ctor params from the ImageData struct.
    • The dimensions are now internally pulled from the pixels parameter.