Function test_basic_allocation
Source pub fn test_basic_allocation(allocator: impl ManagerTrait)
Expand description
Tests basic memory allocation.
Verifies that the manager can allocate memory with a simple layout
and default capabilities, and that the returned pointer is valid.
§Parameters
manager - The memory manager to test
§Panics
Panics if allocation fails or returns a null pointer.