Open
Description
Would be nice to have some code to make unit testing allocators easier:
At a minimum:
- test
FrameAllocator
implementation that uses system alloc libraries to allocate "frames"(mmap
?)
We might also want generic functions that take a generic allocator and make a bunch of assertions, since a lot of the things we'll want to test for correctness should be invariant across allocator implementations.