slightly improoved tests

This commit is contained in:
anon 2023-09-22 20:36:33 +02:00
parent 900d7ecf7e
commit d9a148d825

View File

@ -95,15 +95,17 @@ signed main() {
TEST( R"del(\<test)del", "test", true);
TEST( R"del(test\>)del", "test", true);
TEST( R"del(\<test)del", "atest", false);
TEST( R"del(\<test)del", "ttest", false);
TEST( R"del(test\>)del", "testa", false);
TEST(R"del(\<test\>)del", "test", true);
puts("");
TEST(R"del(\<int\>)del", "printf", false);
TEST(R"del(\<print\>)del", " print ", true);
TEST(R"del(\<print\>)del", "\nprint\n", true);
TEST( R"del(\<int\>)del", "printf", false);
TEST(R"del(.\<print\>.)del", " print ", true);
TEST(R"del(.\<print\>.)del", "fprint", false);
TEST(R"del(.\<print\>.)del", "printf", false);
TEST(R"del(.\<print\>.)del", "fprintf", false);
if (test_counter == passed_tests) {
fputs("\033[32m", stdout);