Add test for new xy_strjoin()

This commit is contained in:
Aoran Zeng 2023-08-30 19:44:29 +08:00
parent c213b66b48
commit 32ea20223d

View File

@ -16,8 +16,10 @@ int
main (int argc, char const *argv[])
{
xy_useutf8();
puts(xy_strjoin("中文输出", "test"));
puts(xy_strjoin("中文输出2", "test"));
puts(xy_2strjoin("Xi", "'an"));
puts(xy_strjoin (2, "Xi", "'an"));
puts(xy_strjoin(3, "中文输出", " XiangYang", " shan shui"));
puts(xy_strjoin(4, "中文输出2", " XianYan", " hao", " feng jing"));
xy_success("成功:输出成功内容");
xy_info("信息: 输出信息内容");