diff --git a/test/bool_test.c b/test/bool_test.c
index 5e953e2..4f357b5 100644
--- a/test/bool_test.c
+++ b/test/bool_test.c
@@ -36,7 +36,7 @@ void bool_test ()
bool_test_inspect();
}
-TEST_CASE(test__bool_compat)
+TEST_CASE(bool_compat)
{
TEST_EQ(true, 1);
TEST_EQ(false, 0);
@@ -46,7 +46,7 @@ TEST_CASE(test__bool_compat)
TEST_ASSERT(! (bool) false);
}
-TEST_CASE(test__bool_inspect)
+TEST_CASE(bool_inspect)
{
BOOL_TEST_INSPECT(true, "true");
BOOL_TEST_INSPECT(false, "false");
diff --git a/test/buf_file_test.c b/test/buf_file_test.c
index 6e47d88..d29b760 100644
--- a/test/buf_file_test.c
+++ b/test/buf_file_test.c
@@ -27,7 +27,7 @@ void buf_file_test ()
buf_file_test_open_w_close();
}
-TEST_CASE(test__buf_file_open_r_close)
+TEST_CASE(buf_file_open_r_close)
{
s8 b[16];
s_buf buf;
@@ -41,7 +41,7 @@ TEST_CASE(test__buf_file_open_r_close)
fclose(fp);
}
-TEST_CASE(test__buf_file_open_r_refill)
+TEST_CASE(buf_file_open_r_refill)
{
u8 b = 0x80;
s8 bu[16];
@@ -62,6 +62,6 @@ TEST_CASE(test__buf_file_open_r_refill)
test_context(NULL);
}
-TEST_CASE(test__buf_file_open_w_close)
+TEST_CASE(buf_file_open_w_close)
{
}
diff --git a/test/buf_inspect_test.c b/test/buf_inspect_test.c
index 8079e11..9809508 100644
--- a/test/buf_inspect_test.c
+++ b/test/buf_inspect_test.c
@@ -179,13 +179,13 @@ void buf_inspect_test ()
buf_inspect_test_tag();
}
-TEST_CASE(test__buf_inspect_bool)
+TEST_CASE(buf_inspect_bool)
{
BUF_INSPECT_TEST_BOOL(true, "true");
BUF_INSPECT_TEST_BOOL(false, "false");
}
-TEST_CASE(test__buf_inspect_character)
+TEST_CASE(buf_inspect_character)
{
BUF_INSPECT_TEST_CHARACTER(0, "'\\0'");
BUF_INSPECT_TEST_CHARACTER(1, "'\\x01'");
@@ -206,7 +206,7 @@ TEST_CASE(test__buf_inspect_character)
BUF_INSPECT_TEST_CHARACTER(129321, "'🤩'");
}
-TEST_CASE(test__buf_inspect_f32)
+TEST_CASE(buf_inspect_f32)
{
BUF_INSPECT_TEST_F32(0.0, "0");
BUF_INSPECT_TEST_F32(0.1, "0.1");
@@ -219,7 +219,7 @@ TEST_CASE(test__buf_inspect_f32)
BUF_INSPECT_TEST_F32(-123456789.0, "-1.23457e+08");
}
-TEST_CASE(test__buf_inspect_f64)
+TEST_CASE(buf_inspect_f64)
{
BUF_INSPECT_TEST_F64(0.0, "0");
BUF_INSPECT_TEST_F64(0.1, "0.1");
@@ -232,7 +232,7 @@ TEST_CASE(test__buf_inspect_f64)
BUF_INSPECT_TEST_F64(-123456789.0, "-1.23457e+08");
}
-TEST_CASE(test__buf_inspect_integer)
+TEST_CASE(buf_inspect_integer)
{
BUF_INSPECT_TEST_INTEGER("0", "0");
BUF_INSPECT_TEST_INTEGER("1234", "1234");
@@ -251,12 +251,12 @@ TEST_CASE(test__buf_inspect_integer)
"123456789012345678901234567890123321321311234567890123456789012345678901233213213112345678901234567890123456789012332132131123456789012345678901234567890123321321311234567890123456789012345678901233213213112345678901234567890123456789012332132131123456789012345678901234567890123321321311234567890123456789012345678901233213213112345678901234567890123456789012332132131123456789012345678901234567890123321321311234567890123456789012345678901233213213112345678901234567890123456789012332132131123456789012345678901234567890123321321311234567890123456789012345678901233213213112345678901234567890123456789012332132131123456789012345678901234567890123321321311234567890123456789012345678901233213213112345678901234567890123456789012332132131123456789012345678901234567890123321321311234567890123456789012345678901233213213112345678901234567890123456789012332132131");
}
-TEST_CASE(test__buf_inspect_list)
+TEST_CASE(buf_inspect_list)
{
BUF_INSPECT_TEST_LIST("()", "()");
}
-TEST_CASE(test__buf_inspect_str)
+TEST_CASE(buf_inspect_str)
{
BUF_INSPECT_TEST_STR("", "\"\"");
BUF_INSPECT_TEST_STR(" ", "\" \"");
@@ -294,7 +294,7 @@ TEST_CASE(test__buf_inspect_str)
BUF_INSPECT_TEST_STR("éoπꝝ꒴𐅀🎳😄🟣🤩", "\"éoπꝝ꒴𐅀🎳😄🟣🤩\"");
}
-TEST_CASE(test__buf_inspect_str_character)
+TEST_CASE(buf_inspect_str_character)
{
BUF_INSPECT_TEST_STR_CHARACTER(0, "\\0");
BUF_INSPECT_TEST_STR_CHARACTER(1, "\\x01");
@@ -315,7 +315,7 @@ TEST_CASE(test__buf_inspect_str_character)
BUF_INSPECT_TEST_STR_CHARACTER(129321, "🤩");
}
-TEST_CASE(test__buf_inspect_str_character_size)
+TEST_CASE(buf_inspect_str_character_size)
{
BUF_INSPECT_TEST_STR_CHARACTER_SIZE(0, 2);
BUF_INSPECT_TEST_STR_CHARACTER_SIZE(1, 4);
@@ -332,7 +332,7 @@ TEST_CASE(test__buf_inspect_str_character_size)
BUF_INSPECT_TEST_STR_CHARACTER_SIZE(65856, 4);
}
-TEST_CASE(test__buf_inspect_tag)
+TEST_CASE(buf_inspect_tag)
{
s_tag tag;
tag_init(&tag);
diff --git a/test/buf_parse_test.c b/test/buf_parse_test.c
index 2e41749..078b07d 100644
--- a/test/buf_parse_test.c
+++ b/test/buf_parse_test.c
@@ -768,7 +768,7 @@ void buf_parse_test ()
buf_parse_test_cfn();
}
-TEST_CASE(test__buf_parse_bool)
+TEST_CASE(buf_parse_bool)
{
BUF_PARSE_TEST_NOT_BOOL("0");
BUF_PARSE_TEST_NOT_BOOL("1");
@@ -787,7 +787,7 @@ TEST_CASE(test__buf_parse_bool)
BUF_PARSE_TEST_BOOL("true", 1);
}
-TEST_CASE(test__buf_parse_call)
+TEST_CASE(buf_parse_call)
{
BUF_PARSE_TEST_NOT_CALL("0");
BUF_PARSE_TEST_NOT_CALL("9");
@@ -813,7 +813,7 @@ TEST_CASE(test__buf_parse_call)
BUF_PARSE_TEST_CALL("a(B.c(D.e(f, g), H.i(j, k)))");
}
-TEST_CASE(test__buf_parse_call_op)
+TEST_CASE(buf_parse_call_op)
{
BUF_PARSE_TEST_CALL_OP("1 + 2");
/*
@@ -824,7 +824,7 @@ TEST_CASE(test__buf_parse_call_op)
*/
}
-TEST_CASE(test__buf_parse_cfn)
+TEST_CASE(buf_parse_cfn)
{
BUF_PARSE_TEST_NOT_CFN("0");
BUF_PARSE_TEST_NOT_CFN("9");
@@ -838,7 +838,7 @@ TEST_CASE(test__buf_parse_cfn)
BUF_PARSE_TEST_CFN("cfn :tag \"tag_add\" (:tag, :tag, :tag)");
}
-TEST_CASE(test__buf_parse_character)
+TEST_CASE(buf_parse_character)
{
BUF_PARSE_TEST_NOT_CHARACTER("\x01");
BUF_PARSE_TEST_NOT_CHARACTER("\xFF");
@@ -908,7 +908,7 @@ TEST_CASE(test__buf_parse_character)
BUF_PARSE_TEST_CHARACTER("'𐅀'", 65856);
}
-TEST_CASE(test__buf_parse_digit_bin)
+TEST_CASE(buf_parse_digit_bin)
{
BUF_PARSE_TEST_NOT_DIGIT_BIN("\x01");
BUF_PARSE_TEST_NOT_DIGIT_BIN("\x02");
@@ -925,7 +925,7 @@ TEST_CASE(test__buf_parse_digit_bin)
BUF_PARSE_TEST_DIGIT_BIN("1", 1);
}
-TEST_CASE(test__buf_parse_digit_hex)
+TEST_CASE(buf_parse_digit_hex)
{
BUF_PARSE_TEST_NOT_DIGIT_HEX("\x01");
BUF_PARSE_TEST_NOT_DIGIT_HEX("\x02");
@@ -946,7 +946,7 @@ TEST_CASE(test__buf_parse_digit_hex)
BUF_PARSE_TEST_DIGIT_HEX("f", 0x0F);
}
-TEST_CASE(test__buf_parse_digit_oct)
+TEST_CASE(buf_parse_digit_oct)
{
BUF_PARSE_TEST_NOT_DIGIT_OCT("\x01");
BUF_PARSE_TEST_NOT_DIGIT_OCT("\x02");
@@ -963,7 +963,7 @@ TEST_CASE(test__buf_parse_digit_oct)
BUF_PARSE_TEST_DIGIT_OCT("7", 7);
}
-TEST_CASE(test__buf_parse_digit_dec)
+TEST_CASE(buf_parse_digit_dec)
{
BUF_PARSE_TEST_NOT_DIGIT_DEC("\x01");
BUF_PARSE_TEST_NOT_DIGIT_DEC("\x02");
@@ -991,14 +991,14 @@ void buf_parse_test_f64()
{
}
-TEST_CASE(test__buf_parse_fn)
+TEST_CASE(buf_parse_fn)
{
BUF_PARSE_TEST_FN("fn () { () }");
BUF_PARSE_TEST_FN("fn (x) { x }");
BUF_PARSE_TEST_FN("fn (x, y) { x }");
}
-TEST_CASE(test__buf_parse_ident)
+TEST_CASE(buf_parse_ident)
{
BUF_PARSE_TEST_NOT_IDENT("0");
BUF_PARSE_TEST_NOT_IDENT("9");
@@ -1053,7 +1053,7 @@ TEST_CASE(test__buf_parse_ident)
BUF_PARSE_TEST_IDENT("Module.ident_az09AZ", "ident_az09AZ");
}
-TEST_CASE(test__buf_parse_integer)
+TEST_CASE(buf_parse_integer)
{
BUF_PARSE_TEST_NOT_INTEGER("-");
BUF_PARSE_TEST_NOT_INTEGER("A");
@@ -1101,7 +1101,7 @@ TEST_CASE(test__buf_parse_integer)
BUF_PARSE_TEST_INTEGER("0O100");
}
-TEST_CASE(test__buf_parse_integer_bin)
+TEST_CASE(buf_parse_integer_bin)
{
BUF_PARSE_TEST_NOT_INTEGER_UNSIGNED_BIN("A");
BUF_PARSE_TEST_NOT_INTEGER_UNSIGNED_BIN("STR");
@@ -1147,7 +1147,7 @@ void buf_parse_test_integer_oct()
BUF_PARSE_TEST_INTEGER_UNSIGNED_OCT("777");
}
-TEST_CASE(test__buf_parse_list)
+TEST_CASE(buf_parse_list)
{
BUF_PARSE_TEST_LIST("()");
BUF_PARSE_TEST_LIST("((), ())");
@@ -1159,12 +1159,12 @@ TEST_CASE(test__buf_parse_list)
BUF_PARSE_TEST_LIST("(a, b, c | d)");
}
-TEST_CASE(test__buf_parse_sw)
+TEST_CASE(buf_parse_sw)
{
}
-TEST_CASE(test__buf_parse_str)
+TEST_CASE(buf_parse_str)
{
BUF_PARSE_TEST_NOT_STR("");
BUF_PARSE_TEST_NOT_STR("\x00");
@@ -1212,7 +1212,7 @@ TEST_CASE(test__buf_parse_str)
BUF_PARSE_TEST_STR("\"ꇤ\"", "ꇤ");
}
-TEST_CASE(test__buf_parse_str_character)
+TEST_CASE(buf_parse_str_character)
{
BUF_PARSE_TEST_STR_CHARACTER("0", '0');
BUF_PARSE_TEST_STR_CHARACTER("9", '9');
@@ -1239,7 +1239,7 @@ TEST_CASE(test__buf_parse_str_character)
BUF_PARSE_TEST_STR_CHARACTER("🤩", 129321);
}
-TEST_CASE(test__buf_parse_str_u8)
+TEST_CASE(buf_parse_str_u8)
{
BUF_PARSE_TEST_STR_U8_EOF("");
BUF_PARSE_TEST_STR_U8("\x01", 1, 0x01);
@@ -1278,7 +1278,7 @@ TEST_CASE(test__buf_parse_str_u8)
BUF_PARSE_TEST_STR_U8("\\xFF8", 4, 0xFF);
}
-TEST_CASE(test__buf_parse_sym)
+TEST_CASE(buf_parse_sym)
{
BUF_PARSE_TEST_NOT_SYM("0");
BUF_PARSE_TEST_NOT_SYM("9");
@@ -1305,14 +1305,14 @@ TEST_CASE(test__buf_parse_sym)
BUF_PARSE_TEST_SYM(":az09AZ", "az09AZ");
}
-TEST_CASE(test__buf_parse_tag)
+TEST_CASE(buf_parse_tag)
{
BUF_PARSE_TEST_TAG("x");
BUF_PARSE_TEST_TAG("_x");
BUF_PARSE_TEST_TAG("(x | _y)");
}
-TEST_CASE(test__buf_parse_tuple)
+TEST_CASE(buf_parse_tuple)
{
BUF_PARSE_TEST_TUPLE("{a, b}");
BUF_PARSE_TEST_TUPLE("{a, b, c}");
@@ -1323,10 +1323,10 @@ TEST_CASE(test__buf_parse_tuple)
BUF_PARSE_TEST_TUPLE("{{a, b}, {c, d}}");
}
-TEST_CASE(test__buf_parse_u)
+TEST_CASE(buf_parse_u)
{
}
-TEST_CASE(test__buf_parse_uw)
+TEST_CASE(buf_parse_uw)
{
}
diff --git a/test/buf_parse_test_s16.c b/test/buf_parse_test_s16.c
index 8768b77..8ed5442 100644
--- a/test/buf_parse_test_s16.c
+++ b/test/buf_parse_test_s16.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_s16_binary)
+TEST_CASE(buf_parse_s16_binary)
{
BUF_PARSE_TEST_S(16, "0b0", 0);
BUF_PARSE_TEST_S(16, "0b00", 0);
@@ -34,7 +34,7 @@ TEST_CASE(test__buf_parse_s16_binary)
BUF_PARSE_TEST_S(16, "0b111111111111111", 32767);
}
-TEST_CASE(test__buf_parse_s16_binary_negative)
+TEST_CASE(buf_parse_s16_binary_negative)
{
BUF_PARSE_TEST_S(16, "-0b0", 0);
BUF_PARSE_TEST_S(16, "-0b00", 0);
@@ -56,7 +56,7 @@ TEST_CASE(test__buf_parse_s16_binary_negative)
BUF_PARSE_TEST_S(16, "-0b1000000000000000", -32768);
}
-TEST_CASE(test__buf_parse_s16_octal)
+TEST_CASE(buf_parse_s16_octal)
{
BUF_PARSE_TEST_S(16, "0o0", 0);
BUF_PARSE_TEST_S(16, "0o00", 0);
@@ -646,7 +646,7 @@ TEST_CASE(test__buf_parse_s16_octal)
BUF_PARSE_TEST_S(16, "0o77777", 32767);
}
-TEST_CASE(test__buf_parse_s16_octal_negative)
+TEST_CASE(buf_parse_s16_octal_negative)
{
BUF_PARSE_TEST_S(16, "-0o0", 0);
BUF_PARSE_TEST_S(16, "-0o00", 0);
@@ -1236,7 +1236,7 @@ TEST_CASE(test__buf_parse_s16_octal_negative)
BUF_PARSE_TEST_S(16, "-0o100000", -32768);
}
-TEST_CASE(test__buf_parse_s16_hexadecimal)
+TEST_CASE(buf_parse_s16_hexadecimal)
{
BUF_PARSE_TEST_S(16, "0x0", 0);
BUF_PARSE_TEST_S(16, "0x00", 0);
@@ -8870,7 +8870,7 @@ TEST_CASE(test__buf_parse_s16_hexadecimal)
BUF_PARSE_TEST_S(16, "0x7FFF", 32767);
}
-TEST_CASE(test__buf_parse_s16_hexadecimal_negative)
+TEST_CASE(buf_parse_s16_hexadecimal_negative)
{
BUF_PARSE_TEST_S(16, "-0x0", 0);
BUF_PARSE_TEST_S(16, "-0x00", 0);
@@ -16503,7 +16503,7 @@ TEST_CASE(test__buf_parse_s16_hexadecimal_negative)
BUF_PARSE_TEST_S(16, "-0x8000", -32768);
}
-TEST_CASE(test__buf_parse_s16_decimal)
+TEST_CASE(buf_parse_s16_decimal)
{
BUF_PARSE_TEST_S(16, "0", 0);
BUF_PARSE_TEST_S(16, "00", 0);
@@ -17619,7 +17619,7 @@ TEST_CASE(test__buf_parse_s16_decimal)
BUF_PARSE_TEST_S(16, "32767", 32767);
}
-TEST_CASE(test__buf_parse_s16_decimal_negative)
+TEST_CASE(buf_parse_s16_decimal_negative)
{
BUF_PARSE_TEST_S(16, "-0", 0);
BUF_PARSE_TEST_S(16, "-00", 0);
diff --git a/test/buf_parse_test_s32.c b/test/buf_parse_test_s32.c
index 5f82007..d271371 100644
--- a/test/buf_parse_test_s32.c
+++ b/test/buf_parse_test_s32.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_s32_binary)
+TEST_CASE(buf_parse_s32_binary)
{
BUF_PARSE_TEST_S(32, "0b0", 0);
BUF_PARSE_TEST_S(32, "0b00", 0);
@@ -36,7 +36,7 @@ TEST_CASE(test__buf_parse_s32_binary)
BUF_PARSE_TEST_S(32, "0b1111111111111111111111111111111", 2147483647);
}
-TEST_CASE(test__buf_parse_s32_binary_negative)
+TEST_CASE(buf_parse_s32_binary_negative)
{
BUF_PARSE_TEST_S(32, "-0b0", 0);
BUF_PARSE_TEST_S(32, "-0b00", 0);
@@ -60,7 +60,7 @@ TEST_CASE(test__buf_parse_s32_binary_negative)
BUF_PARSE_TEST_S(32, "-0b10000000000000000000000000000000", -2147483648);
}
-TEST_CASE(test__buf_parse_s32_octal)
+TEST_CASE(buf_parse_s32_octal)
{
BUF_PARSE_TEST_S(32, "0o0", 0);
BUF_PARSE_TEST_S(32, "0o00", 0);
@@ -652,7 +652,7 @@ TEST_CASE(test__buf_parse_s32_octal)
BUF_PARSE_TEST_S(32, "0o17777777777", 2147483647);
}
-TEST_CASE(test__buf_parse_s32_octal_negative)
+TEST_CASE(buf_parse_s32_octal_negative)
{
BUF_PARSE_TEST_S(32, "-0o0", 0);
BUF_PARSE_TEST_S(32, "-0o00", 0);
@@ -1244,7 +1244,7 @@ TEST_CASE(test__buf_parse_s32_octal_negative)
BUF_PARSE_TEST_S(32, "-0o20000000000", -2147483648);
}
-TEST_CASE(test__buf_parse_s32_hexadecimal)
+TEST_CASE(buf_parse_s32_hexadecimal)
{
BUF_PARSE_TEST_S(32, "0x0", 0);
BUF_PARSE_TEST_S(32, "0x00", 0);
@@ -8882,7 +8882,7 @@ TEST_CASE(test__buf_parse_s32_hexadecimal)
BUF_PARSE_TEST_S(32, "0x7FFFFFFF", 2147483647);
}
-TEST_CASE(test__buf_parse_s32_hexadecimal_negative)
+TEST_CASE(buf_parse_s32_hexadecimal_negative)
{
BUF_PARSE_TEST_S(32, "-0x0", 0);
BUF_PARSE_TEST_S(32, "-0x00", 0);
@@ -16518,7 +16518,7 @@ TEST_CASE(test__buf_parse_s32_hexadecimal_negative)
BUF_PARSE_TEST_S(32, "-0x80000000", -2147483648);
}
-TEST_CASE(test__buf_parse_s32_decimal)
+TEST_CASE(buf_parse_s32_decimal)
{
BUF_PARSE_TEST_S(32, "0", 0);
BUF_PARSE_TEST_S(32, "00", 0);
@@ -17636,7 +17636,7 @@ TEST_CASE(test__buf_parse_s32_decimal)
BUF_PARSE_TEST_S(32, "2147483647", 2147483647);
}
-TEST_CASE(test__buf_parse_s32_decimal_negative)
+TEST_CASE(buf_parse_s32_decimal_negative)
{
BUF_PARSE_TEST_S(32, "-0", 0);
BUF_PARSE_TEST_S(32, "-00", 0);
diff --git a/test/buf_parse_test_s64.c b/test/buf_parse_test_s64.c
index b1b056c..4caf732 100644
--- a/test/buf_parse_test_s64.c
+++ b/test/buf_parse_test_s64.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_s64_binary)
+TEST_CASE(buf_parse_s64_binary)
{
BUF_PARSE_TEST_S(64, "0b0", 0);
BUF_PARSE_TEST_S(64, "0b00", 0);
@@ -38,7 +38,7 @@ TEST_CASE(test__buf_parse_s64_binary)
BUF_PARSE_TEST_S(64, "0b111111111111111111111111111111111111111111111111111111111111111", 9223372036854775807);
}
-TEST_CASE(test__buf_parse_s64_binary_negative)
+TEST_CASE(buf_parse_s64_binary_negative)
{
BUF_PARSE_TEST_S(64, "-0b0", 0);
BUF_PARSE_TEST_S(64, "-0b00", 0);
@@ -64,7 +64,7 @@ TEST_CASE(test__buf_parse_s64_binary_negative)
BUF_PARSE_TEST_S(64, "-0b1000000000000000000000000000000000000000000000000000000000000000", -9223372036854775807 - 1);
}
-TEST_CASE(test__buf_parse_s64_octal)
+TEST_CASE(buf_parse_s64_octal)
{
BUF_PARSE_TEST_S(64, "0o0", 0);
BUF_PARSE_TEST_S(64, "0o00", 0);
@@ -658,7 +658,7 @@ TEST_CASE(test__buf_parse_s64_octal)
BUF_PARSE_TEST_S(64, "0o777777777777777777777", 9223372036854775807);
}
-TEST_CASE(test__buf_parse_s64_octal_negative)
+TEST_CASE(buf_parse_s64_octal_negative)
{
BUF_PARSE_TEST_S(64, "-0o0", 0);
BUF_PARSE_TEST_S(64, "-0o00", 0);
@@ -1252,7 +1252,7 @@ TEST_CASE(test__buf_parse_s64_octal_negative)
BUF_PARSE_TEST_S(64, "-0o1000000000000000000000", -9223372036854775807 - 1);
}
-TEST_CASE(test__buf_parse_s64_hexadecimal)
+TEST_CASE(buf_parse_s64_hexadecimal)
{
BUF_PARSE_TEST_S(64, "0x0", 0);
BUF_PARSE_TEST_S(64, "0x00", 0);
@@ -8894,7 +8894,7 @@ TEST_CASE(test__buf_parse_s64_hexadecimal)
BUF_PARSE_TEST_S(64, "0x7FFFFFFFFFFFFFFF", 9223372036854775807);
}
-TEST_CASE(test__buf_parse_s64_hexadecimal_negative)
+TEST_CASE(buf_parse_s64_hexadecimal_negative)
{
BUF_PARSE_TEST_S(64, "-0x0", 0);
BUF_PARSE_TEST_S(64, "-0x00", 0);
@@ -16533,7 +16533,7 @@ TEST_CASE(test__buf_parse_s64_hexadecimal_negative)
BUF_PARSE_TEST_S(64, "-0x8000000000000000", -9223372036854775807 - 1);
}
-TEST_CASE(test__buf_parse_s64_decimal)
+TEST_CASE(buf_parse_s64_decimal)
{
BUF_PARSE_TEST_S(64, "0", 0);
BUF_PARSE_TEST_S(64, "00", 0);
@@ -17653,7 +17653,7 @@ TEST_CASE(test__buf_parse_s64_decimal)
BUF_PARSE_TEST_S(64, "9223372036854775807", 9223372036854775807);
}
-TEST_CASE(test__buf_parse_s64_decimal_negative)
+TEST_CASE(buf_parse_s64_decimal_negative)
{
BUF_PARSE_TEST_S(64, "-0", 0);
BUF_PARSE_TEST_S(64, "-00", 0);
diff --git a/test/buf_parse_test_s8.c b/test/buf_parse_test_s8.c
index 2d8ba56..fab6108 100644
--- a/test/buf_parse_test_s8.c
+++ b/test/buf_parse_test_s8.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_s8_binary)
+TEST_CASE(buf_parse_s8_binary)
{
BUF_PARSE_TEST_S(8, "0b0", 0);
BUF_PARSE_TEST_S(8, "0b00", 0);
@@ -32,7 +32,7 @@ TEST_CASE(test__buf_parse_s8_binary)
BUF_PARSE_TEST_S(8, "0b1111111", 127);
}
-TEST_CASE(test__buf_parse_s8_binary_negative)
+TEST_CASE(buf_parse_s8_binary_negative)
{
BUF_PARSE_TEST_S(8, "-0b0", 0);
BUF_PARSE_TEST_S(8, "-0b00", 0);
@@ -52,7 +52,7 @@ TEST_CASE(test__buf_parse_s8_binary_negative)
BUF_PARSE_TEST_S(8, "-0b10000000", -128);
}
-TEST_CASE(test__buf_parse_s8_octal)
+TEST_CASE(buf_parse_s8_octal)
{
BUF_PARSE_TEST_S(8, "0o0", 0);
BUF_PARSE_TEST_S(8, "0o00", 0);
@@ -256,7 +256,7 @@ TEST_CASE(test__buf_parse_s8_octal)
BUF_PARSE_TEST_S(8, "0o177", 127);
}
-TEST_CASE(test__buf_parse_s8_octal_negative)
+TEST_CASE(buf_parse_s8_octal_negative)
{
BUF_PARSE_TEST_S(8, "-0o0", 0);
BUF_PARSE_TEST_S(8, "-0o00", 0);
@@ -461,7 +461,7 @@ TEST_CASE(test__buf_parse_s8_octal_negative)
BUF_PARSE_TEST_S(8, "-0o200", -128);
}
-TEST_CASE(test__buf_parse_s8_hexadecimal)
+TEST_CASE(buf_parse_s8_hexadecimal)
{
BUF_PARSE_TEST_S(8, "0x0", 0);
BUF_PARSE_TEST_S(8, "0x00", 0);
@@ -839,7 +839,7 @@ TEST_CASE(test__buf_parse_s8_hexadecimal)
BUF_PARSE_TEST_S(8, "0x07F", 127);
}
-TEST_CASE(test__buf_parse_s8_hexadecimal_negative)
+TEST_CASE(buf_parse_s8_hexadecimal_negative)
{
BUF_PARSE_TEST_S(8, "-0x0", 0);
BUF_PARSE_TEST_S(8, "-0x00", 0);
@@ -1219,7 +1219,7 @@ TEST_CASE(test__buf_parse_s8_hexadecimal_negative)
BUF_PARSE_TEST_S(8, "-0x080", -128);
}
-TEST_CASE(test__buf_parse_s8_decimal)
+TEST_CASE(buf_parse_s8_decimal)
{
BUF_PARSE_TEST_S(8, "0", 0);
BUF_PARSE_TEST_S(8, "00", 0);
@@ -1461,7 +1461,7 @@ TEST_CASE(test__buf_parse_s8_decimal)
BUF_PARSE_TEST_S(8, "127", 127);
}
-TEST_CASE(test__buf_parse_s8_decimal_negative)
+TEST_CASE(buf_parse_s8_decimal_negative)
{
BUF_PARSE_TEST_S(8, "-0", 0);
BUF_PARSE_TEST_S(8, "-00", 0);
diff --git a/test/buf_parse_test_u16.c b/test/buf_parse_test_u16.c
index 8745192..d72a7dc 100644
--- a/test/buf_parse_test_u16.c
+++ b/test/buf_parse_test_u16.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_u16_binary)
+TEST_CASE(buf_parse_u16_binary)
{
BUF_PARSE_TEST_U(16, "0b0", 0U);
BUF_PARSE_TEST_U(16, "0b00", 0U);
@@ -34,7 +34,7 @@ TEST_CASE(test__buf_parse_u16_binary)
BUF_PARSE_TEST_U(16, "0b1111111111111111", 65535U);
}
-TEST_CASE(test__buf_parse_u16_octal)
+TEST_CASE(buf_parse_u16_octal)
{
BUF_PARSE_TEST_U(16, "0o0", 0U);
BUF_PARSE_TEST_U(16, "0o00", 0U);
@@ -624,7 +624,7 @@ TEST_CASE(test__buf_parse_u16_octal)
BUF_PARSE_TEST_U(16, "0o177777", 65535U);
}
-TEST_CASE(test__buf_parse_u16_hexadecimal)
+TEST_CASE(buf_parse_u16_hexadecimal)
{
BUF_PARSE_TEST_U(16, "0x0", 0U);
BUF_PARSE_TEST_U(16, "0x00", 0U);
@@ -8258,7 +8258,7 @@ TEST_CASE(test__buf_parse_u16_hexadecimal)
BUF_PARSE_TEST_U(16, "0xFFFF", 65535U);
}
-TEST_CASE(test__buf_parse_u16_decimal)
+TEST_CASE(buf_parse_u16_decimal)
{
BUF_PARSE_TEST_U(16, "0", 0U);
BUF_PARSE_TEST_U(16, "00", 0U);
diff --git a/test/buf_parse_test_u32.c b/test/buf_parse_test_u32.c
index cf3d5c0..c75d6ec 100644
--- a/test/buf_parse_test_u32.c
+++ b/test/buf_parse_test_u32.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_u32_binary)
+TEST_CASE(buf_parse_u32_binary)
{
BUF_PARSE_TEST_U(32, "0b0", 0U);
BUF_PARSE_TEST_U(32, "0b00", 0U);
@@ -36,7 +36,7 @@ TEST_CASE(test__buf_parse_u32_binary)
BUF_PARSE_TEST_U(32, "0b11111111111111111111111111111111", 4294967295U);
}
-TEST_CASE(test__buf_parse_u32_octal)
+TEST_CASE(buf_parse_u32_octal)
{
BUF_PARSE_TEST_U(32, "0o0", 0U);
BUF_PARSE_TEST_U(32, "0o00", 0U);
@@ -628,7 +628,7 @@ TEST_CASE(test__buf_parse_u32_octal)
BUF_PARSE_TEST_U(32, "0o37777777777", 4294967295U);
}
-TEST_CASE(test__buf_parse_u32_hexadecimal)
+TEST_CASE(buf_parse_u32_hexadecimal)
{
BUF_PARSE_TEST_U(32, "0x0", 0U);
BUF_PARSE_TEST_U(32, "0x00", 0U);
@@ -8266,7 +8266,7 @@ TEST_CASE(test__buf_parse_u32_hexadecimal)
BUF_PARSE_TEST_U(32, "0xFFFFFFFF", 4294967295U);
}
-TEST_CASE(test__buf_parse_u32_decimal)
+TEST_CASE(buf_parse_u32_decimal)
{
BUF_PARSE_TEST_U(32, "0", 0U);
BUF_PARSE_TEST_U(32, "00", 0U);
diff --git a/test/buf_parse_test_u64.c b/test/buf_parse_test_u64.c
index a5a9eef..ccd0122 100644
--- a/test/buf_parse_test_u64.c
+++ b/test/buf_parse_test_u64.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_u64_binary)
+TEST_CASE(buf_parse_u64_binary)
{
BUF_PARSE_TEST_U(64, "0b0", 0U);
BUF_PARSE_TEST_U(64, "0b00", 0U);
@@ -38,7 +38,7 @@ TEST_CASE(test__buf_parse_u64_binary)
BUF_PARSE_TEST_U(64, "0b1111111111111111111111111111111111111111111111111111111111111111", 18446744073709551615U);
}
-TEST_CASE(test__buf_parse_u64_octal)
+TEST_CASE(buf_parse_u64_octal)
{
BUF_PARSE_TEST_U(64, "0o0", 0U);
BUF_PARSE_TEST_U(64, "0o00", 0U);
@@ -632,7 +632,7 @@ TEST_CASE(test__buf_parse_u64_octal)
BUF_PARSE_TEST_U(64, "0o1777777777777777777777", 18446744073709551615U);
}
-TEST_CASE(test__buf_parse_u64_hexadecimal)
+TEST_CASE(buf_parse_u64_hexadecimal)
{
BUF_PARSE_TEST_U(64, "0x0", 0U);
BUF_PARSE_TEST_U(64, "0x00", 0U);
@@ -8274,7 +8274,7 @@ TEST_CASE(test__buf_parse_u64_hexadecimal)
BUF_PARSE_TEST_U(64, "0xFFFFFFFFFFFFFFFF", 18446744073709551615U);
}
-TEST_CASE(test__buf_parse_u64_decimal)
+TEST_CASE(buf_parse_u64_decimal)
{
BUF_PARSE_TEST_U(64, "0", 0U);
BUF_PARSE_TEST_U(64, "00", 0U);
diff --git a/test/buf_parse_test_u8.c b/test/buf_parse_test_u8.c
index 985920a..f9e01bd 100644
--- a/test/buf_parse_test_u8.c
+++ b/test/buf_parse_test_u8.c
@@ -12,7 +12,7 @@
*/
#include "buf_parse_test.h"
-TEST_CASE(test__buf_parse_u8_binary)
+TEST_CASE(buf_parse_u8_binary)
{
BUF_PARSE_TEST_U(8, "0b0", 0U);
BUF_PARSE_TEST_U(8, "0b00", 0U);
@@ -32,7 +32,7 @@ TEST_CASE(test__buf_parse_u8_binary)
BUF_PARSE_TEST_U(8, "0b11111111", 255U);
}
-TEST_CASE(test__buf_parse_u8_octal)
+TEST_CASE(buf_parse_u8_octal)
{
BUF_PARSE_TEST_U(8, "0o0", 0U);
BUF_PARSE_TEST_U(8, "0o00", 0U);
@@ -364,7 +364,7 @@ TEST_CASE(test__buf_parse_u8_octal)
BUF_PARSE_TEST_U(8, "0o377", 255U);
}
-TEST_CASE(test__buf_parse_u8_hexadecimal)
+TEST_CASE(buf_parse_u8_hexadecimal)
{
BUF_PARSE_TEST_U(8, "0x0", 0U);
BUF_PARSE_TEST_U(8, "0x00", 0U);
@@ -1214,7 +1214,7 @@ TEST_CASE(test__buf_parse_u8_hexadecimal)
BUF_PARSE_TEST_U(8, "0x0FF", 255U);
}
-TEST_CASE(test__buf_parse_u8_decimal)
+TEST_CASE(buf_parse_u8_decimal)
{
BUF_PARSE_TEST_U(8, "0", 0U);
BUF_PARSE_TEST_U(8, "00", 0U);
diff --git a/test/buf_test.c b/test/buf_test.c
index 4adc0f4..68ba995 100644
--- a/test/buf_test.c
+++ b/test/buf_test.c
@@ -211,7 +211,7 @@ void buf_test ()
buf_test_ignore();
}
-TEST_CASE(test__buf_f)
+TEST_CASE(buf_f)
{
s8 b[32];
s_buf buf;
@@ -228,7 +228,7 @@ TEST_CASE(test__buf_f)
"ÉoàΠ꒴𐅀 \n\r\t\v\\\"");
}
-TEST_CASE(test__buf_ignore)
+TEST_CASE(buf_ignore)
{
BUF_TEST_IGNORE("", 0, 0);
BUF_TEST_IGNORE("", 1, -1);
@@ -248,7 +248,7 @@ TEST_CASE(test__buf_ignore)
BUF_TEST_IGNORE("1234567890", 10, 10);
}
-TEST_CASE(test__buf_init_clean)
+TEST_CASE(buf_init_clean)
{
char a[4] = "test";
size_t len;
@@ -272,7 +272,7 @@ TEST_CASE(test__buf_init_clean)
BUF_TEST_CLEAN(buf);
}
-TEST_CASE(test__buf_new_delete)
+TEST_CASE(buf_new_delete)
{
char a[4] = "test";
size_t len;
@@ -296,7 +296,7 @@ TEST_CASE(test__buf_new_delete)
BUF_TEST_DELETE(buf);
}
-TEST_CASE(test__buf_new_alloc_delete)
+TEST_CASE(buf_new_alloc_delete)
{
size_t len;
s_buf *buf;
@@ -311,7 +311,7 @@ TEST_CASE(test__buf_new_alloc_delete)
}
}
-TEST_CASE(test__buf_peek_1)
+TEST_CASE(buf_peek_1)
{
BUF_TEST_PEEK_1("");
BUF_TEST_PEEK_1("\x01");
@@ -336,12 +336,12 @@ TEST_CASE(test__buf_peek_1)
BUF_TEST_PEEK_1("\x01\x02\x03" "ABCabcÀÉΠꝜ꒴𐅀àéπꝝ");
}
-TEST_CASE(test__buf_peek_character_utf8)
+TEST_CASE(buf_peek_character_utf8)
{
BUF_TEST_PEEK_CHARACTER_UTF8("0", 1, '0');
}
-TEST_CASE(test__buf_peek_s8)
+TEST_CASE(buf_peek_s8)
{
char a[4] = "ABCD";
s_buf buf;
@@ -357,7 +357,7 @@ TEST_CASE(test__buf_peek_s8)
TEST_EQ(buf.wpos, 1);
}
-TEST_CASE(test__buf_peek_s16)
+TEST_CASE(buf_peek_s16)
{
s8 b[8];
s_buf buf;
@@ -371,7 +371,7 @@ TEST_CASE(test__buf_peek_s16)
TEST_EQ(buf.rpos, 0);
}
-TEST_CASE(test__buf_peek_u8)
+TEST_CASE(buf_peek_u8)
{
char a[4] = "ABCD";
s_buf buf;
@@ -387,7 +387,7 @@ TEST_CASE(test__buf_peek_u8)
TEST_EQ(buf.wpos, 1);
}
-TEST_CASE(test__buf_read_1)
+TEST_CASE(buf_read_1)
{
BUF_TEST_READ_1("");
BUF_TEST_READ_1("\x01");
@@ -417,7 +417,7 @@ TEST_CASE(test__buf_read_1)
BUF_TEST_READ_1_("abc", "", 0);
}
-TEST_CASE(test__buf_read_character_utf8)
+TEST_CASE(buf_read_character_utf8)
{
BUF_TEST_READ_CHARACTER_UTF8("0", '0');
BUF_TEST_READ_CHARACTER_UTF8("9", '9');
@@ -459,7 +459,7 @@ void buf_test_read_f32()
buf_clean(&buf);
}
-TEST_CASE(test__buf_read_f64)
+TEST_CASE(buf_read_f64)
{
s8 b[32];
s_buf buf;
@@ -487,7 +487,7 @@ TEST_CASE(test__buf_read_f64)
TEST_DOUBLE_EQ(f, DBL_MAX);
}
-TEST_CASE(test__buf_read_s8)
+TEST_CASE(buf_read_s8)
{
char a[8] = "ABCDEFGH";
s_buf buf;
@@ -530,7 +530,7 @@ TEST_CASE(test__buf_read_s8)
buf_clean(&buf);
}
-TEST_CASE(test__buf_read_s16)
+TEST_CASE(buf_read_s16)
{
s8 b[8];
s_buf buf;
@@ -612,7 +612,7 @@ void buf_test_read_s64()
buf_clean(&buf);
}
-TEST_CASE(test__buf_read_to_str)
+TEST_CASE(buf_read_to_str)
{
BUF_TEST_READ_TO_STR("");
BUF_TEST_READ_TO_STR("0");
@@ -628,7 +628,7 @@ TEST_CASE(test__buf_read_to_str)
BUF_TEST_READ_TO_STR("09AZÀÉazàé");
}
-TEST_CASE(test__buf_read_u8)
+TEST_CASE(buf_read_u8)
{
s_buf buf;
u8 byte;
@@ -740,7 +740,7 @@ void buf_test_read_u64()
buf_clean(&buf);
}
-TEST_CASE(test__buf_write_s8)
+TEST_CASE(buf_write_s8)
{
s8 b[4];
s_buf buf;
@@ -763,7 +763,7 @@ TEST_CASE(test__buf_write_s8)
TEST_EQ(buf.ptr.ps8[3], -1);
}
-TEST_CASE(test__buf_write_s16)
+TEST_CASE(buf_write_s16)
{
s8 b[8];
s_buf buf;
@@ -786,7 +786,7 @@ TEST_CASE(test__buf_write_s16)
TEST_EQ(*((s16 *) (buf.ptr.ps8 + 6)), -1);
}
-TEST_CASE(test__buf_write_s32)
+TEST_CASE(buf_write_s32)
{
s8 b[16];
s_buf buf;
@@ -809,7 +809,7 @@ TEST_CASE(test__buf_write_s32)
TEST_EQ(*((s32 *) (buf.ptr.ps8 + 12)), -1);
}
-TEST_CASE(test__buf_write_s64)
+TEST_CASE(buf_write_s64)
{
s8 b[32];
s_buf buf;
@@ -832,7 +832,7 @@ TEST_CASE(test__buf_write_s64)
TEST_EQ(*((s64 *) (buf.ptr.ps8 + 24)), -1);
}
-TEST_CASE(test__buf_write_u8)
+TEST_CASE(buf_write_u8)
{
s8 b[4];
s_buf buf;
@@ -855,7 +855,7 @@ TEST_CASE(test__buf_write_u8)
TEST_EQ(buf.ptr.pu8[3], 0xFF);
}
-TEST_CASE(test__buf_write_u16)
+TEST_CASE(buf_write_u16)
{
s8 b[8];
s_buf buf;
@@ -878,7 +878,7 @@ TEST_CASE(test__buf_write_u16)
TEST_EQ(*((u16 *) (buf.ptr.pu8 + 6)), 0xFFFF);
}
-TEST_CASE(test__buf_write_u32)
+TEST_CASE(buf_write_u32)
{
s8 b[16];
s_buf buf;
@@ -901,7 +901,7 @@ TEST_CASE(test__buf_write_u32)
TEST_EQ(*((u32 *) (buf.ptr.pu8 + 12)), 0xFFFFFFFF);
}
-TEST_CASE(test__buf_write_u64)
+TEST_CASE(buf_write_u64)
{
s8 b[32];
s_buf buf;
@@ -924,11 +924,11 @@ TEST_CASE(test__buf_write_u64)
TEST_EQ(*((u64 *) (buf.ptr.pu8 + 24)), 0xFFFFFFFFFFFFFFFF);
}
-TEST_CASE(test__buf_write_str)
+TEST_CASE(buf_write_str)
{
}
-TEST_CASE(test__buf_xfer)
+TEST_CASE(buf_xfer)
{
s8 d[16];
s_buf dest;
diff --git a/test/call_test.c b/test/call_test.c
index 42907fc..59f56d2 100644
--- a/test/call_test.c
+++ b/test/call_test.c
@@ -45,7 +45,7 @@ void call_test ()
call_test_inspect();
}
-TEST_CASE(test__call_init_1)
+TEST_CASE(call_init_1)
{
CALL_TEST_INIT_1("a()");
CALL_TEST_INIT_1("a(b)");
@@ -57,7 +57,7 @@ TEST_CASE(test__call_init_1)
CALL_TEST_INIT_1("A.b(c, d, e)");
}
-TEST_CASE(test__call_inspect)
+TEST_CASE(call_inspect)
{
CALL_TEST_INSPECT("a()");
CALL_TEST_INSPECT("a(b)");
diff --git a/test/cfn_test.c b/test/cfn_test.c
index 5464e3e..a3a1801 100644
--- a/test/cfn_test.c
+++ b/test/cfn_test.c
@@ -39,7 +39,7 @@ void cfn_test ()
cfn_test_apply();
}
-TEST_CASE(test__cfn_apply)
+TEST_CASE(cfn_apply)
{
s_list *args;
s_tag result;
@@ -58,7 +58,7 @@ TEST_CASE(test__cfn_apply)
cfn_clean(&a);
}
-TEST_CASE(test__cfn_copy)
+TEST_CASE(cfn_copy)
{
s_cfn a;
s_list *a_arg_types;
@@ -93,7 +93,7 @@ TEST_CASE(test__cfn_copy)
cfn_clean(&a);
}
-TEST_CASE(test__cfn_init_clean)
+TEST_CASE(cfn_init_clean)
{
s_cfn a;
TEST_EQ(cfn_init(&a, sym_1("cfn_test_not"),
@@ -119,7 +119,7 @@ TEST_CASE(test__cfn_init_clean)
test_ok();
}
-TEST_CASE(test__cfn_link)
+TEST_CASE(cfn_link)
{
s_cfn a;
s_cfn b;
@@ -148,7 +148,7 @@ bool cfn_test_not (bool a)
return a ? false : true;
}
-TEST_CASE(test__cfn_prep_cif)
+TEST_CASE(cfn_prep_cif)
{
s_cfn a;
s_cfn b;
diff --git a/test/character_test.c b/test/character_test.c
index 0882ad7..4ed4599 100644
--- a/test/character_test.c
+++ b/test/character_test.c
@@ -37,7 +37,7 @@ void character_test ()
#define CHARACTER_TEST_1_ASCII(string) \
TEST_EQ(character_1(string), string[0])
-TEST_CASE(test__character_1)
+TEST_CASE(character_1)
{
CHARACTER_TEST_1_ASCII("_");
CHARACTER_TEST_1_ASCII("0");
@@ -73,7 +73,7 @@ TEST_CASE(test__character_1)
TEST_EQ(character_1("ꝝ"), 42845);
}
-TEST_CASE(test__character_is_digit)
+TEST_CASE(character_is_digit)
{
character c;
for (c = -10; c < 40; c++)
@@ -118,7 +118,7 @@ TEST_CASE(test__character_is_digit)
TEST_ASSERT(! character_is_digit(character_1("ꝝ")));
}
-TEST_CASE(test__character_is_lowercase)
+TEST_CASE(character_is_lowercase)
{
character c;
for (c = -10; c < 40; c++)
@@ -157,7 +157,7 @@ TEST_CASE(test__character_is_lowercase)
TEST_ASSERT(character_is_lowercase(character_1("ꝝ")));
}
-TEST_CASE(test__character_is_space)
+TEST_CASE(character_is_space)
{
TEST_ASSERT(character_is_space('\n'));
TEST_ASSERT(character_is_space('\r'));
@@ -193,7 +193,7 @@ TEST_CASE(test__character_is_space)
TEST_ASSERT(! character_is_space(character_1("Ꝝ")));
}
-TEST_CASE(test__character_is_uppercase)
+TEST_CASE(character_is_uppercase)
{
character c;
for (c = -10; c < 40; c++)
@@ -228,11 +228,11 @@ TEST_CASE(test__character_is_uppercase)
TEST_ASSERT(character_is_uppercase(character_1("Ꝝ")));
}
-TEST_CASE(test__character_utf8)
+TEST_CASE(character_utf8)
{
}
-TEST_CASE(test__character_utf8_size)
+TEST_CASE(character_utf8_size)
{
character c;
for (c = -10; c < 0; c++)
diff --git a/test/compare_test.c b/test/compare_test.c
index 8d40b18..86aef3b 100644
--- a/test/compare_test.c
+++ b/test/compare_test.c
@@ -58,7 +58,7 @@ void compare_test ()
compare_test_tuple();
}
-TEST_CASE(test__compare_bool)
+TEST_CASE(compare_bool)
{
TEST_EQ(compare_bool(false, false), 0);
TEST_EQ(compare_bool(false, true), -1);
@@ -66,7 +66,7 @@ TEST_CASE(test__compare_bool)
TEST_EQ(compare_bool(true, true), 0);
}
-TEST_CASE(test__compare_character)
+TEST_CASE(compare_character)
{
TEST_EQ(compare_character('0', '0'), 0);
TEST_EQ(compare_character('0', '1'), -1);
@@ -81,7 +81,7 @@ TEST_CASE(test__compare_character)
TEST_EQ(compare_character('a', 'A'), 1);
}
-TEST_CASE(test__compare_f32)
+TEST_CASE(compare_f32)
{
TEST_EQ(compare_f32('0', '0'), 0);
TEST_EQ(compare_f32('0', '1'), -1);
@@ -109,7 +109,7 @@ TEST_CASE(test__compare_f32)
1);
}
-TEST_CASE(test__compare_f64)
+TEST_CASE(compare_f64)
{
TEST_EQ(compare_f64(0.0, 0.0), 0);
TEST_EQ(compare_f64(0.0, 1.0), -1);
@@ -132,14 +132,14 @@ TEST_CASE(test__compare_f64)
1);
}
-TEST_CASE(test__compare_list)
+TEST_CASE(compare_list)
{
COMPARE_TEST_LIST(NULL, NULL, 0);
COMPARE_TEST_LIST(list_1("(A, B)"), list_1("(A, C)"), -1);
COMPARE_TEST_LIST(list_1("(A, C)"), list_1("(A, B)"), 1);
}
-TEST_CASE(test__compare_str)
+TEST_CASE(compare_str)
{
s_str *p;
s_str a;
@@ -167,7 +167,7 @@ TEST_CASE(test__compare_str)
COMPARE_TEST_STR(str_init_1(&a, NULL, "012"), str_init_1(&b, NULL, "ABC"), -1);
}
-TEST_CASE(test__compare_tag)
+TEST_CASE(compare_tag)
{
s_tag a;
s_tag b;
@@ -358,7 +358,7 @@ TEST_CASE(test__compare_tag)
tag_clean(&b);
}
-TEST_CASE(test__compare_tuple)
+TEST_CASE(compare_tuple)
{
s_tuple a;
s_tuple b;
diff --git a/test/env_test.c b/test/env_test.c
index 1ef5fea..f01b084 100644
--- a/test/env_test.c
+++ b/test/env_test.c
@@ -27,7 +27,7 @@ void env_test ()
env_test_eval_equal_tag();
}
-TEST_CASE(test__env_eval_equal_tag)
+TEST_CASE(env_eval_equal_tag)
{
s_env env;
s_frame frame;
@@ -90,7 +90,7 @@ TEST_CASE(test__env_eval_equal_tag)
test_context(NULL);
}
-TEST_CASE(test__env_init_clean)
+TEST_CASE(env_init_clean)
{
s_env env;
env_init(&env);
diff --git a/test/fact_test.c b/test/fact_test.c
index 60abf66..ab45735 100644
--- a/test/fact_test.c
+++ b/test/fact_test.c
@@ -50,7 +50,7 @@ void fact_test_clean_3 (s_fact *fact)
tag_delete((s_tag *) fact->object);
}
-TEST_CASE(test__fact_init)
+TEST_CASE(fact_init)
{
s_tag sym[3];
s_fact fact;
@@ -80,7 +80,7 @@ s_fact * fact_test_init_3 (s_fact *fact, const s8 *subject,
return fact;
}
-TEST_CASE(test__fact_inspect)
+TEST_CASE(fact_inspect)
{
s_tag tag[3];
s_fact fact;
diff --git a/test/facts_cursor_test.c b/test/facts_cursor_test.c
index fe281da..aba7219 100644
--- a/test/facts_cursor_test.c
+++ b/test/facts_cursor_test.c
@@ -26,7 +26,7 @@ void facts_cursor_test ()
facts_cursor_test_next();
}
-TEST_CASE(test__facts_cursor_init)
+TEST_CASE(facts_cursor_init)
{
s_facts_cursor cursor;
uw i = 0;
@@ -108,7 +108,7 @@ TEST_CASE(test__facts_cursor_init)
facts_clean(&facts);
}
-TEST_CASE(test__facts_cursor_next)
+TEST_CASE(facts_cursor_next)
{
s_facts_cursor cursor;
uw i = 0;
diff --git a/test/facts_test.c b/test/facts_test.c
index cdafc7b..f51ee8d 100644
--- a/test/facts_test.c
+++ b/test/facts_test.c
@@ -47,7 +47,7 @@ void facts_test ()
facts_test_open_file();
}
-TEST_CASE(test__facts_add)
+TEST_CASE(facts_add)
{
uw i = 0;
s8 *p[24] = {
@@ -100,7 +100,7 @@ TEST_CASE(test__facts_add)
facts_clean(&facts);
}
-TEST_CASE(test__facts_dump_file)
+TEST_CASE(facts_dump_file)
{
uw i = 0;
s8 *p[24] = {
@@ -150,7 +150,7 @@ TEST_CASE(test__facts_dump_file)
facts_clean(&facts);
}
-TEST_CASE(test__facts_find)
+TEST_CASE(facts_find)
{
uw i = 0;
s8 *p[24] = {
@@ -203,7 +203,7 @@ TEST_CASE(test__facts_find)
facts_clean(&facts);
}
-TEST_CASE(test__facts_init_clean)
+TEST_CASE(facts_init_clean)
{
s_facts facts;
TEST_EQ(facts_init(&facts), &facts);
@@ -220,7 +220,7 @@ TEST_CASE(test__facts_init_clean)
test_ok();
}
-TEST_CASE(test__facts_load)
+TEST_CASE(facts_load)
{
uw i = 0;
s8 *p[24] = {
@@ -265,7 +265,7 @@ TEST_CASE(test__facts_load)
facts_clean(&facts);
}
-TEST_CASE(test__facts_log_add)
+TEST_CASE(facts_log_add)
{
uw i = 0;
s8 *p[24] = {
@@ -315,7 +315,7 @@ TEST_CASE(test__facts_log_add)
unlink("facts_test_log_add.facts");
}
-TEST_CASE(test__facts_log_remove)
+TEST_CASE(facts_log_remove)
{
uw i = 0;
s8 *p[24] = {
@@ -372,7 +372,7 @@ TEST_CASE(test__facts_log_remove)
unlink("facts_test_log_remove.facts");
}
-TEST_CASE(test__facts_new_delete)
+TEST_CASE(facts_new_delete)
{
s_facts *facts;
s_buf buf;
@@ -394,7 +394,7 @@ TEST_CASE(test__facts_new_delete)
}
}
-TEST_CASE(test__facts_open_file)
+TEST_CASE(facts_open_file)
{
uw i = 0;
s8 *p[24] = {
@@ -543,7 +543,7 @@ TEST_CASE(test__facts_open_file)
unlink("facts_test_open_file.3.facts");
}
-TEST_CASE(test__facts_remove)
+TEST_CASE(facts_remove)
{
uw i = 0;
s8 *p[24] = {
@@ -592,7 +592,7 @@ TEST_CASE(test__facts_remove)
facts_clean(&facts);
}
-TEST_CASE(test__facts_save)
+TEST_CASE(facts_save)
{
uw i = 0;
s8 *p[24] = {
diff --git a/test/facts_with_test.c b/test/facts_with_test.c
index ca6bb40..e92f3f1 100644
--- a/test/facts_with_test.c
+++ b/test/facts_with_test.c
@@ -28,7 +28,7 @@ void facts_with_test ()
facts_with_test_();
}
-TEST_CASE(test__facts_with_)
+TEST_CASE(facts_with_)
{
s_facts_with_cursor cursor;
s_fact fact;
@@ -178,7 +178,7 @@ TEST_CASE(test__facts_with_)
facts_clean(&facts);
}
-TEST_CASE(test__facts_with_tags)
+TEST_CASE(facts_with_tags)
{
s_facts_cursor cursor;
s_fact fact;
diff --git a/test/ident_test.c b/test/ident_test.c
index 45b3ab7..d528ef5 100644
--- a/test/ident_test.c
+++ b/test/ident_test.c
@@ -47,7 +47,7 @@ void ident_test_character_is_reserved ();
void ident_test_first_character_is_reserved ();
void ident_test_inspect ();
-TEST_CASE(test__ident_character_is_reserved)
+TEST_CASE(ident_character_is_reserved)
{
IDENT_TEST_CHARACTER_IS_RESERVED('_', false);
IDENT_TEST_CHARACTER_IS_RESERVED('0', false);
@@ -71,7 +71,7 @@ TEST_CASE(test__ident_character_is_reserved)
IDENT_TEST_CHARACTER_IS_RESERVED(character_1("🤩"), false);
}
-TEST_CASE(test__ident_first_character_is_reserved)
+TEST_CASE(ident_first_character_is_reserved)
{
IDENT_TEST_FIRST_CHARACTER_IS_RESERVED('_', false);
IDENT_TEST_FIRST_CHARACTER_IS_RESERVED('0', true);
@@ -102,7 +102,7 @@ void ident_test ()
ident_test_character_is_reserved();
}
-TEST_CASE(test__ident_inspect)
+TEST_CASE(ident_inspect)
{
IDENT_TEST_INSPECT("", "_\"\"");
IDENT_TEST_INSPECT(" ", "_\" \"");
diff --git a/test/list_test.c b/test/list_test.c
index 3b49445..8be1fcb 100644
--- a/test/list_test.c
+++ b/test/list_test.c
@@ -49,7 +49,7 @@ void list_test ()
list_test_inspect();
}
-TEST_CASE(test__list_1)
+TEST_CASE(list_1)
{
TEST_ASSERT(! list_1("()"));
LIST_TEST_1("(() | ())");
@@ -63,7 +63,7 @@ TEST_CASE(test__list_1)
LIST_TEST_1("(A, B, C | D)");
}
-TEST_CASE(test__list_inspect)
+TEST_CASE(list_inspect)
{
LIST_TEST_INSPECT("()", "()");
LIST_TEST_INSPECT("(() | ())", "(())");
diff --git a/test/set__fact_test.c b/test/set__fact_test.c
index bd9c97a..78ce27d 100644
--- a/test/set__fact_test.c
+++ b/test/set__fact_test.c
@@ -90,7 +90,7 @@ void set__fact_test ()
set__fact_test_cursor();
}
-TEST_CASE(test__set__fact_add)
+TEST_CASE(set__fact_add)
{
s_fact fact[24];
sw i;
@@ -138,7 +138,7 @@ TEST_CASE(test__set__fact_add)
set_clean__fact(&set);
}
-TEST_CASE(test__set__fact_cursor)
+TEST_CASE(set__fact_cursor)
{
sw i;
s8 *p[24] = {
@@ -187,7 +187,7 @@ TEST_CASE(test__set__fact_cursor)
set_clean__fact(&set);
}
-TEST_CASE(test__set__fact_init_clean)
+TEST_CASE(set__fact_init_clean)
{
SET__FACT_TEST_INIT_CLEAN(1);
SET__FACT_TEST_INIT_CLEAN(8);
@@ -221,7 +221,7 @@ TEST_CASE(test__set__fact_init_clean)
SET__FACT_TEST_INIT_CLEAN(1024 * 1024);
}
-TEST_CASE(test__set__fact_remove)
+TEST_CASE(set__fact_remove)
{
sw i;
s8 *p[24] = {
@@ -267,7 +267,7 @@ TEST_CASE(test__set__fact_remove)
set_clean__fact(&set);
}
-TEST_CASE(test__set__fact_resize)
+TEST_CASE(set__fact_resize)
{
sw i;
s8 *p[24] = {
diff --git a/test/set__tag_test.c b/test/set__tag_test.c
index d78acab..379c472 100644
--- a/test/set__tag_test.c
+++ b/test/set__tag_test.c
@@ -111,7 +111,7 @@ void set__tag_test ()
set__tag_test_cursor();
}
-TEST_CASE(test__set__tag_add)
+TEST_CASE(set__tag_add)
{
uw i = 0;
const s8 *p[] = {
@@ -160,7 +160,7 @@ TEST_CASE(test__set__tag_add)
set_clean__tag(&set);
}
-TEST_CASE(test__set__tag_cursor)
+TEST_CASE(set__tag_cursor)
{
sw i = 0;
s_tag tag;
@@ -265,7 +265,7 @@ TEST_CASE(test__set__tag_cursor)
set_clean__tag(&set);
}
-TEST_CASE(test__set__tag_init_clean)
+TEST_CASE(set__tag_init_clean)
{
SET__TAG_TEST_INIT_CLEAN(1);
SET__TAG_TEST_INIT_CLEAN(8);
@@ -299,7 +299,7 @@ TEST_CASE(test__set__tag_init_clean)
SET__TAG_TEST_INIT_CLEAN(1024 * 1024);
}
-TEST_CASE(test__set__tag_remove)
+TEST_CASE(set__tag_remove)
{
sw i;
s_tag tag;
@@ -379,7 +379,7 @@ TEST_CASE(test__set__tag_remove)
set_clean__tag(&set);
}
-TEST_CASE(test__set__tag_resize)
+TEST_CASE(set__tag_resize)
{
s_tag tag;
s_set__tag set;
diff --git a/test/skiplist__fact_test.c b/test/skiplist__fact_test.c
index a5d1edb..3a56b13 100644
--- a/test/skiplist__fact_test.c
+++ b/test/skiplist__fact_test.c
@@ -64,7 +64,7 @@ void skiplist__fact_test ()
skiplist__fact_test_find();
}
-TEST_CASE(test__skiplist__fact_find)
+TEST_CASE(skiplist__fact_find)
{
s_fact fact[24];
const u8 *h;
@@ -120,7 +120,7 @@ TEST_CASE(test__skiplist__fact_find)
}
}
-TEST_CASE(test__skiplist__fact_insert)
+TEST_CASE(skiplist__fact_insert)
{
sw i;
const u8 *h;
@@ -178,7 +178,7 @@ TEST_CASE(test__skiplist__fact_insert)
}
}
-TEST_CASE(test__skiplist__fact_new_delete)
+TEST_CASE(skiplist__fact_new_delete)
{
const u8 *h;
const u8 height[] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 0};
@@ -191,7 +191,7 @@ TEST_CASE(test__skiplist__fact_new_delete)
}
}
-TEST_CASE(test__skiplist__fact_remove)
+TEST_CASE(skiplist__fact_remove)
{
s_fact fact[24];
const u8 *h;
diff --git a/test/str_test.c b/test/str_test.c
index b154ab8..6e37032 100644
--- a/test/str_test.c
+++ b/test/str_test.c
@@ -91,7 +91,7 @@ void str_test ()
str_test_to_sym();
}
-TEST_CASE(test__str_character_is_reserved)
+TEST_CASE(str_character_is_reserved)
{
TEST_ASSERT(str_character_is_reserved('\0'));
TEST_ASSERT(str_character_is_reserved('\x01'));
@@ -125,7 +125,7 @@ TEST_CASE(test__str_character_is_reserved)
TEST_ASSERT(str_character_is_reserved('\\'));
}
-TEST_CASE(test__str_init_clean)
+TEST_CASE(str_init_clean)
{
size_t len;
char *m;
@@ -147,7 +147,7 @@ TEST_CASE(test__str_init_clean)
test_ok();
}
-TEST_CASE(test__str_init_dup)
+TEST_CASE(str_init_dup)
{
size_t len;
char *m;
@@ -174,7 +174,7 @@ TEST_CASE(test__str_init_dup)
test_ok();
}
-TEST_CASE(test__str_init_dup_1)
+TEST_CASE(str_init_dup_1)
{
size_t len;
char *m;
@@ -197,7 +197,7 @@ TEST_CASE(test__str_init_dup_1)
test_ok();
}
-TEST_CASE(test__str_inspect)
+TEST_CASE(str_inspect)
{
s8 zero[16];
bzero(zero, sizeof(zero));
@@ -279,21 +279,21 @@ TEST_CASE(test__str_inspect)
"\\0\"");
}
-TEST_CASE(test__str_new_1)
+TEST_CASE(str_new_1)
{
s_str *str;
TEST_ASSERT((str = str_new_1(NULL, "test")));
str_delete(str);
}
-TEST_CASE(test__str_new_cpy)
+TEST_CASE(str_new_cpy)
{
s_str *str;
TEST_ASSERT((str = str_new_cpy(4, "test")));
str_delete(str);
}
-TEST_CASE(test__str_new_delete)
+TEST_CASE(str_new_delete)
{
size_t len;
char *m;
@@ -314,7 +314,7 @@ TEST_CASE(test__str_new_delete)
test_ok();
}
-TEST_CASE(test__str_new_dup)
+TEST_CASE(str_new_dup)
{
size_t len;
char *m;
@@ -340,7 +340,7 @@ TEST_CASE(test__str_new_dup)
test_ok();
}
-TEST_CASE(test__str_new_f)
+TEST_CASE(str_new_f)
{
s_str *str;
TEST_ASSERT((str = str_new_f("test%d", 42)));
@@ -351,7 +351,7 @@ TEST_CASE(test__str_new_f)
str_delete(str);
}
-TEST_CASE(test__str_to_hex)
+TEST_CASE(str_to_hex)
{
s8 zero[32];
bzero(zero, sizeof(zero));
@@ -431,7 +431,7 @@ TEST_CASE(test__str_to_hex)
"7172737475767778797A");
}
-TEST_CASE(test__str_to_sym)
+TEST_CASE(str_to_sym)
{
STR_TEST_TO_SYM("");
STR_TEST_TO_SYM("0");
diff --git a/test/sym_test.c b/test/sym_test.c
index 63c82fe..65e2c48 100644
--- a/test/sym_test.c
+++ b/test/sym_test.c
@@ -41,7 +41,7 @@ void sym_test ()
sym_test_1();
sym_test_inspect();
}
-TEST_CASE(test__sym_1)
+TEST_CASE(sym_1)
{
const s_sym *mod;
const s_sym *mod_t;
@@ -104,7 +104,7 @@ const s_sym * sym_test_1_test (const s8 *p)
return sym;
}
-TEST_CASE(test__sym_inspect)
+TEST_CASE(sym_inspect)
{
SYM_TEST_INSPECT("", ":\"\"");
SYM_TEST_INSPECT(" ", ":\" \"");
diff --git a/test/tag_test.c b/test/tag_test.c
index 90bd310..9b57198 100644
--- a/test/tag_test.c
+++ b/test/tag_test.c
@@ -33,7 +33,7 @@ void tag_test ()
tag_test_hash_u64();
}
-TEST_CASE(test__tag_hash_u64)
+TEST_CASE(tag_hash_u64)
{
s_tag a;
s_tag b;
@@ -47,7 +47,7 @@ TEST_CASE(test__tag_hash_u64)
tag_clean(&b);
}
-TEST_CASE(test__tag_init_1)
+TEST_CASE(tag_init_1)
{
s_tag a;
TEST_ASSERT(tag_init_1(&a, "fn () { () }"));
diff --git a/test/tuple_test.c b/test/tuple_test.c
index 80e4426..e2b59a4 100644
--- a/test/tuple_test.c
+++ b/test/tuple_test.c
@@ -88,7 +88,7 @@ void tuple_test ()
tuple_test_inspect();
}
-TEST_CASE(test__tuple_init_clean)
+TEST_CASE(tuple_init_clean)
{
TUPLE_TEST_INIT_CLEAN(2);
TUPLE_TEST_INIT_CLEAN(3);
@@ -111,7 +111,7 @@ TEST_CASE(test__tuple_init_clean)
TUPLE_TEST_INIT_CLEAN(20);
}
-TEST_CASE(test__tuple_init_1)
+TEST_CASE(tuple_init_1)
{
TUPLE_TEST_INIT_1("{:a, :b}");
TUPLE_TEST_INIT_1("{:a, :b, :c}");
@@ -122,7 +122,7 @@ TEST_CASE(test__tuple_init_1)
TUPLE_TEST_INIT_1("{{:a, :b}, {:c, :d}, {:e, :f}, {:g, :h}, {:i, :j}}");
}
-TEST_CASE(test__tuple_inspect)
+TEST_CASE(tuple_inspect)
{
TUPLE_TEST_INSPECT("{:a, :b}", "{:a, :b}");
TUPLE_TEST_INSPECT("{{:a, :b}, {:c, :d}}", "{{:a, :b}, {:c, :d}}");
@@ -130,7 +130,7 @@ TEST_CASE(test__tuple_inspect)
"{{:a, :b}, {:c, :d}, {:e, :f}}");
}
-TEST_CASE(test__tuple_new_1)
+TEST_CASE(tuple_new_1)
{
TUPLE_TEST_NEW_1("{:a, :b}");
TUPLE_TEST_NEW_1("{:a, :b, :c}");
@@ -141,7 +141,7 @@ TEST_CASE(test__tuple_new_1)
TUPLE_TEST_NEW_1("{{:a, :b}, {:c, :d}, {:e, :f}, {:g, :h}, {:i, :j}}");
}
-TEST_CASE(test__tuple_new_delete)
+TEST_CASE(tuple_new_delete)
{
TUPLE_TEST_NEW_DELETE(2);
TUPLE_TEST_NEW_DELETE(3);
diff --git a/test/types_test.c b/test/types_test.c
index 2d9660b..6d498d4 100644
--- a/test/types_test.c
+++ b/test/types_test.c
@@ -21,7 +21,7 @@ void types_test ()
types_test_sizeof();
}
-TEST_CASE(test__types_sizeof)
+TEST_CASE(types_sizeof)
{
TEST_EQ(sizeof(s8), 1);
TEST_EQ(sizeof(s16), 2);