2022-09-17 16:02:42 +02:00
|
|
|
/*
|
|
|
|
* boxes - Command line filter to draw/remove ASCII boxes around text
|
2023-03-26 17:53:29 +02:00
|
|
|
* Copyright (c) 1999-2023 Thomas Jensen and the boxes contributors
|
2022-09-17 16:02:42 +02:00
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
|
|
|
|
* License, version 3, as published by the Free Software Foundation.
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
|
|
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
|
|
* details.
|
|
|
|
* You should have received a copy of the GNU General Public License along with this program.
|
|
|
|
* If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Unit tests of the 'cmdline' module
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BXSTRING_TEST_H
|
|
|
|
#define BXSTRING_TEST_H
|
|
|
|
|
|
|
|
|
|
|
|
void test_ascii_simple(void **state);
|
2023-03-26 17:53:29 +02:00
|
|
|
void test_ascii_tabs(void **state);
|
|
|
|
void test_ascii_null(void **state);
|
|
|
|
|
2022-09-17 16:02:42 +02:00
|
|
|
void test_ansi_unicode_book(void **state);
|
|
|
|
void test_ansi_unicode_space_kinds(void **state);
|
|
|
|
void test_ansi_unicode_chinese(void **state);
|
2023-03-26 17:53:29 +02:00
|
|
|
void test_ansi_unicode_empty(void **state);
|
|
|
|
void test_ansi_unicode_tabs(void **state);
|
|
|
|
void test_ansi_unicode_null(void **state);
|
|
|
|
|
|
|
|
void test_bxsfree_null(void **state);
|
2022-09-17 16:02:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* vim: set cindent sw=4: */
|