(t *testing.T)
| 292 | } |
| 293 | |
| 294 | func TestOrderedMap_Back(t *testing.T) { |
| 295 | t.Run("NilOnEmptyMap", func(t *testing.T) { |
| 296 | m := orderedmap.NewOrderedMap() |
| 297 | assert.Nil(t, m.Back()) |
| 298 | }) |
| 299 | |
| 300 | t.Run("NilOnEmptyMap", func(t *testing.T) { |
| 301 | m := orderedmap.NewOrderedMap() |
| 302 | m.Set(1, true) |
| 303 | assert.NotNil(t, m.Back()) |
| 304 | }) |
| 305 | } |
| 306 | |
| 307 | func TestOrderedMap_Copy(t *testing.T) { |
| 308 | t.Run("ReturnsEqualButNotSame", func(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…