/* Initialize the memory slab using k_mem_slab_init() and allocates/frees blocks. 
Initialize 3 memory blocks of block size 8 bytes using  */
ZTEST(mslab_api, test_mslab_kinit)
/* Initialize the memory slab using k_mem_slab_init() and allocates/frees blocks. 
Initialize 3 memory blocks of block size 8 bytes using  */
ZTEST(mslab_api, test_mslab_kinit)
{
	zassert_equal(k_mem_slab_init(&mslab, tslab, BLK_SIZE + 1, BLK_NUM),
				-EINVAL, NULL);
	k_mem_slab_init(&mslab, tslab, BLK_SIZE, BLK_NUM);
	zassert_equal(k_mem_slab_num_used_get(&mslab), 0);
	zassert_equal(k_mem_slab_num_free_get(&mslab), BLK_NUM);
}