mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-04 17:15:58 +08:00
1
This commit is contained in:
@@ -42,3 +42,9 @@ func TestIndexOf(t *testing.T) {
|
||||
fmt.Println(IndexOf(arr, 3))
|
||||
|
||||
}
|
||||
|
||||
func TestSort(t *testing.T) {
|
||||
arr := []int{1, 1, 1, 4, 4, 5, 2, 3, 3, 3, 6}
|
||||
fmt.Println(Sort(arr, false))
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user