Skip to content

Commit 0c98308

Browse files
authored
Create BucketSort_test.go
1 parent c160c5e commit 0c98308

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

go/13_sorts/BucketSort_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package LinearSort
2+
3+
import "testing"
4+
5+
func TestBucketSort(t *testing.T) {
6+
a := []int{1,6,3,5,8,6,4}
7+
BucketSort(a)
8+
t.Log(a)
9+
}
10+
11+
func TestBucketSortSimple(t *testing.T) {
12+
a := []int{1,6,3,5,8,6,4}
13+
BucketSortSimple(a)
14+
t.Log(a)
15+
}

0 commit comments

Comments
 (0)