aboutsummaryrefslogtreecommitdiff
path: root/csv-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'csv-test.c')
-rw-r--r--csv-test.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/csv-test.c b/csv-test.c
index e2fd308..bbc7212 100644
--- a/csv-test.c
+++ b/csv-test.c
@@ -103,6 +103,17 @@ test_exception_longjmp(FILE *f)
103int 103int
104main(void) 104main(void)
105{ 105{
106 const char *names[] = { "Thomas \"DG\" Schmucker", "Andrea", "Markus", "Marion", NULL };
107
108 csv_write(stdout, -1, names, NULL);
109 csv_write(stdout, 0, names, NULL);
110 csv_write(stdout, 1, names, NULL);
111 csv_write(stdout, 2, names, NULL);
112 csv_write(stdout, 3, names, NULL);
113 csv_write(stdout, 4, names, NULL);
114 csv_write(stdout, 5, names, NULL);
115 return 0;
116
106 FILE *in = fopen("500000 Records.csv", "r"); 117 FILE *in = fopen("500000 Records.csv", "r");
107 if ( in == NULL ) { 118 if ( in == NULL ) {
108 fprintf(stderr, "failed to open testfile...\n"); 119 fprintf(stderr, "failed to open testfile...\n");