blob: a08327e8cc997e57ac13aea07ff5e1641f5edd95 [file] [log] [blame]
/*
* Copyright (c) 2019 Peter Bigot Consulting
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef TIMEUTIL_TEST_H
#define TIMEUTIL_TEST_H
#include <stdlib.h>
#include <sys/timeutil.h>
struct timeutil_test_data {
time_t unix;
const char *civil;
struct tm tm;
};
void timeutil_check(const struct timeutil_test_data *tp,
size_t count);
void test_gmtime(void);
void test_s32(void);
void test_s64(void);
#endif /* TIMEUTIL_TEST_H */