1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 00:22:41 +08:00
This commit is contained in:
2022-05-12 09:35:20 +08:00
parent ffaf129ddb
commit 6731e53d7c
6 changed files with 126 additions and 20 deletions

View File

@ -16,3 +16,12 @@ func TestHashMap(t *testing.T) {
_ = m
}
func TestIter(t *testing.T) {
m := maps.NewHashMap[string, string]()
m.Set("abc", "abc")
for e := range m.Iter() {
t.Log(e.Key, e.Value)
}
}