ics_cli/unit-tests/test_print_upcoming.c

17 lines
381 B
C

#include "../src/list_handling.h"
#include "../src/parse_ics.h"
#include <stdio.h>
int main() {
// initialize empty list
struct event *head = NULL;
char *current_date = "20240710T113000";
printf("DEBUG - current_date: %s\n\n", current_date);
parse_ics_file("/home/bf/.local/share/evolution/calendar/system/calendar.ics", &head);
print_upcoming(head, current_date, 0);
}