31 lines
824 B
C
31 lines
824 B
C
/*----------------------------------------------------------
|
|
* HTBLA-Leonding
|
|
* ---------------------------------------------------------
|
|
* Title: Trim string_cpy
|
|
* Author: S. Schraml
|
|
* ----------------------------------------------------------
|
|
* Description:
|
|
* Test functions for 'trim'.
|
|
* ----------------------------------------------------------
|
|
*/
|
|
#ifndef ___TEST_trim_H
|
|
#define ___TEST_trim_H
|
|
|
|
#include "shortcut.h"
|
|
|
|
TEST(empty_null_string);
|
|
TEST(empty_null_string_cpy);
|
|
TEST(empty_string);
|
|
TEST(empty_string_cpy);
|
|
TEST(just_string);
|
|
TEST(just_string_cpy);
|
|
TEST(leading_space);
|
|
TEST(leading_space_cpy);
|
|
TEST(trailing_space);
|
|
TEST(trailing_space_cpy);
|
|
TEST(leading_and_trailing_space);
|
|
TEST(leading_and_trailing_space_cpy);
|
|
TEST(just_space);
|
|
TEST(just_space_cpy);
|
|
|
|
#endif
|