22-timed-sorting-2/test_bubble_sort.h
github-classroom[bot] 607b5c2510
Initial commit
2025-04-28 22:07:49 +00:00

25 lines
No EOL
704 B
C

/*----------------------------------------------------------
* HTBLA-Leonding / Klasse: n/a
* ---------------------------------------------------------
* Title: Unit Tests for bubble sort
* Author: S. Schraml
* ----------------------------------------------------------
* Description:
* Tests functions for bubble sort.
* ----------------------------------------------------------
*/
#ifndef ___TEST_BUBBLE_SORT_H
#define ___TEST_BUBBLE_SORT_H
#include "shortcut.h"
#include "config.h"
#ifdef LIST_VARIANT
TEST(test_bubble_sort_list_ascending);
TEST(test_bubble_sort_list_decending);
#else
TEST(test_bubble_sort_array_ascending);
TEST(test_bubble_sort_array_descending);
#endif
#endif