leapc
Loading...
Searching...
No Matches
leap_abs_from_test.c
1#include "leap.h"
2
3#include <assert.h>
4#include <stdlib.h>
5
6int leap_abs_from_test(int argc, char **argv) {
7 (void)argc;
8 (void)argv;
9
10 assert(0 == leap_abs_from(0, 1, 1));
11
12 return EXIT_SUCCESS;
13}
Leap year function prototypes.
int leap_abs_from(int year, int month, int day)
Absolute date from year, month, and day of month.
Definition leap.c:137