(t *testing.T)
| 13 | ) |
| 14 | |
| 15 | func TestFreelistHashmap_init_panics(t *testing.T) { |
| 16 | f := NewHashMapFreelist() |
| 17 | require.Panics(t, func() { |
| 18 | // init expects sorted input |
| 19 | f.Init([]common.Pgid{25, 5}) |
| 20 | }) |
| 21 | } |
| 22 | |
| 23 | func TestFreelistHashmap_allocate(t *testing.T) { |
| 24 | f := NewHashMapFreelist() |
nothing calls this directly
no test coverage detected