Debian Codegraph @

utest/tools_test.h

raw
1 /*
2 * boxes - Command line filter to draw/remove ASCII boxes around text
3 * Copyright (c) 1999-2024 Thomas Jensen and the boxes contributors
4 *
5 * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
6 * License, version 3, as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
8 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
9 * details.
10 * You should have received a copy of the GNU General Public License along with this program.
11 * If not, see <https://www.gnu.org/licenses/>.
12 *
13 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
14 */
15
16 /*
17 * Unit tests of the 'tools' module.
18 */
19
20 #ifndef TOOLS_TEST_H
21 #define TOOLS_TEST_H
22
23
24 void test_strisyes_true(void **state);
25 void test_strisyes_false(void **state);
26
27 void test_strisno_true(void **state);
28 void test_strisno_false(void **state);
29
30 void test_my_strrspn_edge(void **state);
31 void test_my_strrspn(void **state);
32
33 void test_is_csi_reset(void **state);
34
35 void test_is_ascii_id_valid(void **state);
36 void test_is_ascii_id_invalid(void **state);
37 void test_is_ascii_id_strict_valid(void **state);
38 void test_is_ascii_id_strict_invalid(void **state);
39
40 void test_repeat(void **state);
41
42
43 #endif
44
45 /* vim: set cindent sw=4: */