test_aligned_allocation

Function test_aligned_allocation 

Source
pub fn test_aligned_allocation(allocator: impl ManagerTrait)
Expand description

Tests allocation with specific alignment requirements.

Verifies that the manager respects alignment requirements and returns properly aligned memory addresses.

§Parameters

  • manager - The memory manager to test

§Panics

Panics if allocation fails or the returned pointer is not properly aligned.