mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 08:32:40 +08:00
new
This commit is contained in:
@ -7,9 +7,12 @@ import (
|
||||
)
|
||||
|
||||
func TestNewArrayList(t *testing.T) {
|
||||
l := list.NewArrayList[int]()
|
||||
l := list.NewArrayList(1, 2, 3)
|
||||
|
||||
l.ForEach(func(i int) {
|
||||
t.Log(i)
|
||||
})
|
||||
|
||||
_ = l
|
||||
}
|
||||
|
||||
func TestArrayPushBack(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user