Skip to content

Commit 9d48a18

Browse files
author
Adithya
committed
added unit test
1 parent 67e94ef commit 9d48a18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/algorithms/sorting/radix-sort.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ function radixSort(arr) {
1616
divisor *= 10;
1717
}
1818
return arr;
19-
}
19+
}
20+
// unit test
21+
console.log(radixSort([5,3,88,235,65,23,4632,234]))

0 commit comments

Comments
 (0)