17-simple-memory-management/test_mem_man.h
2025-03-08 16:49:22 +01:00

27 lines
946 B
C

/*----------------------------------------------------------
* HTBLA-Leonding
* ---------------------------------------------------------
* Title: Unit Tests for Memory Manager implementation
* Author: Marc Tismonar
* ----------------------------------------------------------
* Description:
* Tests functions for memory manager.
* ----------------------------------------------------------
*/
#ifndef ___TEST_MEM_MAN_H
#define ___TEST_MEM_MAN_H
#include "shortcut.h"
TEST(test_alloc_memory__shall_allocate_memory);
TEST(test_alloc_memory__shall_not_allocate_insufficient_memory);
TEST(test_free_memory__shall_release_allocate_memory);
TEST(test_free_memory__shall_ignore_release_if_allocated_memory_is_not_start);
TEST(test_free_memory__shall_ignore_release_for_not_allocated_memory);
/*
Add more unit tests as needed!
Don't forget to register additional tests in test_driver.c
*/
#endif