testcase.c
changeset 8 96d16dfe787a
parent 0 af501b0c1716
child 9 c3fecc82ade6
--- a/testcase.c
+++ b/testcase.c
@@ -14,7 +14,6 @@
 {
     char line[83];
     char *token;
-    int i;
 
     if (argc != 4) {
         printf ("Usage: %s (char*)string (char*)delim1 (char*)delim2\n", argv[0]);
@@ -30,26 +29,7 @@
         token = strtok (NULL, argv[3]);
     }
 
-    i = 0;
-    printf ("while i++ <5: ");
-    while (i++ < 5)
-        printf ("%d ", i);
-
-    i = 0;
-    printf ("\nwhile ++i <5: ");
-    while (++i < 5)
-        printf ("%d ", i);
+    printf ("\nTest finished\n");
 
-    i = 0;
-    printf ("\nwhile i <5  : ");
-    while (i < 5)
-        printf ("%d ", i++);
-
-    i = 0;
-    printf ("\nwhile i <5  : ");
-    while (i < 5)
-        printf ("%d ", ++i);
-
-    printf ("\nTest finished\n");
-    return 0;
+    return EXIT_SUCCESS;
 }