10-customer-list/test_customer_list.h
github-classroom[bot] f12b523950
Initial commit
2024-12-10 06:58:39 +00:00

24 lines
810 B
C

/*----------------------------------------------------------
* HTBLA-Leonding
* ----------------------------------------------------------
* Description:
* Test functions for customer_list.
* ----------------------------------------------------------
*/
#ifndef ___TEST_CUSTOMER_LIST_H
#define ___TEST_CUSTOMER_LIST_H
#include "shortcut.h"
TEST(test_init_customer_list);
TEST(test_add_entry);
TEST(test_add_entries);
TEST(test_get_customer_with_id_when_customer_list_is_empty);
TEST(test_get_customer_with_id_with_one_element);
TEST(test_get_customer_with_id_when_list_is_full);
TEST(test_get_customers_with_revenue);
TEST(test_get_customer_with_highest_revenue);
TEST(test_get_customer_with_lowest_revenue);
TEST(test_get_top_n_customers_revenue);
TEST(test_get_bottom_n_customers_revenue);
#endif