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

Need to generate special test cases #10

Open
wwylele opened this issue Sep 2, 2018 · 0 comments
Open

Need to generate special test cases #10

wwylele opened this issue Sep 2, 2018 · 0 comments

Comments

@wwylele
Copy link
Owner

wwylele commented Sep 2, 2018

test_generator only generates test cases randomly. However, it should also generate test cases regarding to special values, such as 0, 1, -1, 0x7FFFFFFF etc to make sure all the flags work in edge cases. These edge cases has only been tested by hand and I might have missed many more cases.

The biggest problem is that the total amount of test cases would scale up very fast. A full package from current generator, which only contains a small amount of randomized cases for each opcode, would run for more than an hour on 3DS. Adding special test case matrix might increase the run time to a day or something.

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

No branches or pull requests

1 participant