Skip to content

Commit 6488de0

Browse files
author
Adithya
committed
added 2 more unit tests
1 parent 9d48a18 commit 6488de0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/algorithms/sorting/radix-sort.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ function radixSort(arr) {
1818
return arr;
1919
}
2020
// unit test
21-
console.log(radixSort([5,3,88,235,65,23,4632,234]))
21+
console.log(radixSort([5,3,88,235,65,23,4632,234]))
22+
// unit test 2
23+
console.log(radixSort([802, 630, 20, 745, 52, 300, 612, 932, 78, 187]))
24+
// unit test 3
25+
console.log(radixSort([45, 2, 56, 2, 5, 6, 34, 1, 56, 89, 33]))

0 commit comments

Comments
 (0)