leapc
Loading...
Searching...
No Matches
leap_abs_from_test.c
1
#include "
leap.h
"
2
3
#include <assert.h>
4
#include <stdlib.h>
5
6
int
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.h
Leap year function prototypes.
leap_abs_from
int leap_abs_from(int year, int month, int day)
Absolute date from year, month, and day of month.
Definition
leap.c:137
tests
leap_abs_from_test.c
Generated by
1.15.0