(t *testing.T)
| 7 | ) |
| 8 | |
| 9 | func TestNewMap(t *testing.T) { |
| 10 | m := orderedmap.NewMap() |
| 11 | if m.Len() != 0 { |
| 12 | t.Fatalf("expected Len 0, got %d", m.Len()) |
| 13 | } |
| 14 | if len(m.Keys()) != 0 { |
| 15 | t.Fatal("expected empty keys") |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | func TestSetGet(t *testing.T) { |
| 20 | m := orderedmap.NewMap() |