Crossfire Server, Branches 1.12  R18729
check_time.c File Reference
#include <stdlib.h>
#include <check.h>
#include <global.h>
#include <libproto.h>
#include "tod.h"
+ Include dependency graph for check_time.c:

Go to the source code of this file.

Functions

int main (void)
 
void setup (void)
 
 START_TEST (test_get_month_name)
 
END_TEST START_TEST (test_get_weekday)
 
END_TEST START_TEST (test_get_season_name)
 
void teardown (void)
 
END_TEST Suite * time_suite (void)
 

Function Documentation

int main ( void  )

Definition at line 86 of file check_time.c.

References time_suite().

+ Here is the call graph for this function:

void setup ( void  )

Definition at line 39 of file check_time.c.

References reset_sleep().

Referenced by time_suite().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

START_TEST ( test_get_month_name  )

Definition at line 47 of file check_time.c.

References get_month_name(), and MONTHS_PER_YEAR.

+ Here is the call graph for this function:

END_TEST START_TEST ( test_get_weekday  )

Definition at line 54 of file check_time.c.

References DAYS_PER_WEEK, and get_weekday().

+ Here is the call graph for this function:

END_TEST START_TEST ( test_get_season_name  )

Definition at line 61 of file check_time.c.

References get_season_name(), and SEASONS_PER_YEAR.

+ Here is the call graph for this function:

void teardown ( void  )

Definition at line 43 of file check_time.c.

Referenced by time_suite().

+ Here is the caller graph for this function:

END_TEST Suite* time_suite ( void  )

Definition at line 71 of file check_time.c.

References setup(), and teardown().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: