Changes in uspace/app/tester/print/print2.c [d16fc78:2d11a7d8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/print/print2.c
rd16fc78 r2d11a7d8 31 31 #include "../tester.h" 32 32 33 c onst char *test_print2(void)33 char *test_print2(void) 34 34 { 35 TPRINTF("Testing printf(\"%%c \", 'a'):\n");36 TPRINTF("Expected output: [a] \n");37 TPRINTF("Real output: [%c] \n\n", 'a');35 TPRINTF("Testing printf(\"%%c %%3.2c %%-3.2c %%2.3c %%-2.3c\", 'a', 'b', 'c', 'd', 'e'):\n"); 36 TPRINTF("Expected output: [a] [ b] [c ] [ d] [e ]\n"); 37 TPRINTF("Real output: [%c] [%3.2c] [%-3.2c] [%2.3c] [%-2.3c]\n\n", 'a', 'b', 'c', 'd', 'e'); 38 38 39 39 TPRINTF("Testing printf(\"%%d %%3.2d %%-3.2d %%2.3d %%-2.3d\", 1, 2, 3, 4, 5):\n");
Note:
See TracChangeset
for help on using the changeset viewer.