use swift_runtime::debug;
#[test]
fn test_allocation_pool_size() {
if let Some(size) = debug::allocation_pool_size() {
assert!(size > 0);
}
}
#[test]
fn test_metadata_allocator_page_size() {
if let Some(size) = debug::metadata_allocator_page_size() {
assert!(size > 0);
assert!(size.is_power_of_two());
}
}
#[test]
fn test_task_slab_allocator_enabled() {
let _ = debug::task_slab_allocator_enabled();
}