Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CxNN Test #27

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

GamingMadster
Copy link
Contributor

Decided to take some time out of my day to implement the CxNN test that I saw the ideas for in #5.

The way I implemented it here is as follows:

  1. Test if CxNN returns a number greater than zero
  2. Test if a mask of zero ALWAYS returns zero
  3. Test if a mask of 0F will always return a value in the range of 00 - 0F
  4. Test if a mask of F0 will always return a value in the range of 00 - F0, and that the lower nibble is never affected

I am aware that the file has a bunch of deletions, and I am certain that is due to Windows notepad formatting the file weirdly. Once that is fixed, this should be ready to merge.

@GamingMadster
Copy link
Contributor Author

I will also mention I am uncertain for how to implement the test as Gulrak said, but I believe the test should suffice as it does complete properly on Cadmium's VIP core.

@GamingMadster
Copy link
Contributor Author

Apparently line endings got changed. Sorry about that!

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