1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 08:32:40 +08:00
This commit is contained in:
2022-11-21 16:18:54 +08:00
parent 1f8789e7eb
commit 04aecd4abc
3 changed files with 37 additions and 16 deletions

View File

@ -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) {