(n int)
| 584 | } |
| 585 | |
| 586 | func randomPgids(n int) []common.Pgid { |
| 587 | pgids := make(common.Pgids, n) |
| 588 | for i := range pgids { |
| 589 | pgids[i] = common.Pgid(rand.Int63()) |
| 590 | } |
| 591 | sort.Sort(pgids) |
| 592 | return pgids |
| 593 | } |
| 594 | |
| 595 | func Test_freelist_ReadIDs_and_getFreePageIDs(t *testing.T) { |
| 596 | f := newTestFreelist() |
no test coverage detected