/[LeafOK_CVS]/lbbs/src/test_lml.c
ViewVC logotype

Diff of /lbbs/src/test_lml.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 by sysadm, Tue Sep 30 03:02:06 2025 UTC Revision 1.12 by sysadm, Sun Oct 5 05:00:50 2025 UTC
# Line 61  int main(int argc, char *argv[]) Line 61  int main(int argc, char *argv[])
61          printf("Test #1: lml_tag = 1\n");          printf("Test #1: lml_tag = 1\n");
62          for (i = 0; i < str_cnt; i++)          for (i = 0; i < str_cnt; i++)
63          {          {
64                  j = lml_plain(str_in[i], str_out_buf, sizeof(str_out_buf), 1);                  j = lml_render(str_in[i], str_out_buf, sizeof(str_out_buf), 1);
65    
66                  printf("Input(len=%ld): %s\nOutput(len=%d): %s\n", strlen(str_in[i]), str_in[i], j, str_out_buf);                  printf("Input(len=%ld): %s\nOutput(len=%d): %s\n", strlen(str_in[i]), str_in[i], j, str_out_buf);
67          }          }
# Line 70  int main(int argc, char *argv[]) Line 70  int main(int argc, char *argv[])
70          printf("Test #2: lml_tag = 0\n");          printf("Test #2: lml_tag = 0\n");
71          for (i = 0; i < str_cnt; i++)          for (i = 0; i < str_cnt; i++)
72          {          {
73                  j = lml_plain(str_in[i], str_out_buf, sizeof(str_out_buf), 0);                  j = lml_render(str_in[i], str_out_buf, sizeof(str_out_buf), 0);
74    
75                  printf("Input(len=%ld): %s\nOutput(len=%d): %s\n", strlen(str_in[i]), str_in[i], j, str_out_buf);                  printf("Input(len=%ld): %s\nOutput(len=%d): %s\n", strlen(str_in[i]), str_in[i], j, str_out_buf);
76          }          }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1