mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 16:42:41 +08:00
array
This commit is contained in:
12
collections/generics/array_test.go
Normal file
12
collections/generics/array_test.go
Normal file
@ -0,0 +1,12 @@
|
||||
package generics
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestArray(t *testing.T) {
|
||||
a := NewArray(9, 1, 2, 4, 3, 1, 3)
|
||||
t.Log(a)
|
||||
|
||||
b := a.Distinct(true)
|
||||
t.Log(b)
|
||||
t.Log(b.ToList())
|
||||
}
|
Reference in New Issue
Block a user