Initial commit

This commit is contained in:
github-classroom[bot] 2025-04-28 22:07:49 +00:00 committed by GitHub
commit 607b5c2510
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
82 changed files with 8310 additions and 0 deletions

27
test_sorting.h Normal file
View file

@ -0,0 +1,27 @@
/*----------------------------------------------------------
* HTBLA-Leonding / Klasse: n/a
* ---------------------------------------------------------
* Title: Unit Tests for support functions
* Author: S. Schraml
* ----------------------------------------------------------
* Description:
* Tests functions for support functions.
* ----------------------------------------------------------
*/
#ifndef ___TEST_SORTING_H
#define ___TEST_SORTING_H
#include "shortcut.h"
#include "config.h"
TEST(test_sorting_get_algorithm_name__shall_provide_name);
#ifdef LIST_VARIANT
TEST(test_sorting_init_list_random__shall_initialize_the_list);
TEST(test_sorting_sort_list__shall_sort_the_list_ascending);
TEST(test_sorting_sort_list__shall_sort_the_list_descending);
#else
TEST(test_sorting_sort_array__shall_sort_the_array_ascending);
TEST(test_sorting_sort_list__shall_sort_the_array_descending);
#endif
#endif