There was no need to test every possible value to catch the errors the
tests caugth. Cutting them down makes the test 64000 times faster,
which matters quite a lot when we run the TIS interpreter.
The new tests catch just as many errors as the old ones.
int status = 0;
u8 a[64]; // size <= 64
u8 b[64]; // size <= 64
- FOR (i, 0, 256) {
- FOR (j, 0, 256) {
+ FOR (i, 0, 2) {
+ FOR (j, 0, 2) {
// Set every byte to the chosen value, then compare
FOR (k, 0, size) {
a[k] = i;