mirror of
https://github.com/tursom/GoCollections.git
synced 2025-02-26 20:20:31 +08:00
16 lines
280 B
Go
16 lines
280 B
Go
package collections
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/tursom/GoCollections/lang"
|
|
"testing"
|
|
)
|
|
|
|
func TestHashIterable(t *testing.T) {
|
|
list := NewArrayList[lang.String]()
|
|
for i := 0; i < 201; i++ {
|
|
list.Add(lang.Int(i).ToString())
|
|
}
|
|
fmt.Println(HashIterable[lang.String](list))
|
|
}
|