Skip to content

Commit

Permalink
Don't consider Rewritten Grailsort in test counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Nov 2, 2021
1 parent a0fe48f commit d4248b4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,13 @@ else if(grailBufferType == 2) {
boolean success = this.testArray(start, length, test);
if(success) {
System.out.println(" and the sort was successful!");
this.successes++;
if (algorithm == 0) this.successes++;
}
else {
System.out.println(" but the sort was NOT successful!!\nReason: " + this.failReason);
this.failures++;
if (algorithm == 0) this.failures++;
}
this.count++;
if (algorithm == 0) this.count++;
}

Arrays.fill(this.keyArray, null);
Expand Down

0 comments on commit d4248b4

Please sign in to comment.