Initial commit
This commit is contained in:
commit
607b5c2510
82 changed files with 8310 additions and 0 deletions
25
test_bubble_sort.h
Normal file
25
test_bubble_sort.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
/*----------------------------------------------------------
|
||||
* 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue