/* Validate allocation and free from system heap memory pool in isr context. 
When in isr context, the kernel will successfully alloc a block of memory because in this situation, the kernel will assign the heap memory as resource pool. */
ZTEST(mheap_api, test_malloc_in_isr)
/* Validate allocation and free from system heap memory pool in isr context. 
When in isr context, the kernel will successfully alloc a block of memory because in this situation, the kernel will assign the heap memory as resource pool. */
ZTEST(mheap_api, test_malloc_in_isr)
{
	if (!IS_ENABLED(CONFIG_IRQ_OFFLOAD)) {
		return;
	}
	irq_offload((irq_offload_routine_t)tIsr_malloc_and_free, NULL);
}