mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 00:22:41 +08:00
13 lines
168 B
Go
13 lines
168 B
Go
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())
|
|
}
|