Skip to content

Commit

Permalink
improve test driver statistics and results gathering
Browse files Browse the repository at this point in the history
  • Loading branch information
jairrab committed Jun 4, 2019
1 parent c761808 commit d98d2a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fun main() {
var array = IntArray(ARRAY_SIZE)
println("Array size = $ARRAY_SIZE")

when (-1) {
when (1) {
-1 -> array = intArrayOf(1, 2, 4, 3, 5, 7, 6, 8, 9, 10, 12, 11, 13, 14, 15, 16, 17, 19, 18, 21) // custom array
0 -> for (i in 0 until array.size) array[i] = i //ascending elements
1 -> for (i in 0 until array.size) array[i] = ThreadLocalRandom.current().nextInt(LOW, HIGH + 1) //random
Expand Down

0 comments on commit d98d2a3

Please sign in to comment.