17 for (; spaces > 0; --spaces) {
47 #define X(expect, in) MACRO_BEGIN \ 48 string out = markdown(in); \ 49 EXPECT_TRUE(expect == out); \ 55 X(
"lorem ipsum",
"lorem ipsum");
57 X(
"lorem ipsum",
"lorem ipsum ");
59 X(
"lorem ipsum",
"lorem\nipsum");
61 X(
"lorem\nipsum",
"lorem \nipsum");
63 X(
"lorem\n\nipsum",
"lorem\n\nipsum");
ERASEABLE string markdown(string s)
handle string spacing as markdown:
#define SUCCEED()
Must be present at the end of a test.
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
#define FOREACH_CHAR(s, cond, body)