Add number range to output

This commit is contained in:
2020-06-11 12:17:33 -05:00
parent ba8820896e
commit 5a45b0ca3e
2 changed files with 11 additions and 1 deletions

View File

@@ -174,7 +174,7 @@ public class AlgorithmTester{
}
System.out.print("\n");
}
System.out.println("\n"+e.getSortType()+" of "+e.getSortCount()+" numbers took:");
System.out.println("\n"+e.getSortType()+" of "+e.getSortCount()+" numbers with range "+e.getMin()+" to "+e.getMax()+" took:");
System.out.println(e.getComparisonsUsed()+" comparisons");
System.out.println(e.getWritesUsed()+" write operations");
System.out.println(e.getTimeUsed()+" milliseconds");