Angband
Functions | Variables
unit-test.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "unit-test-types.h"
#include "z-util.h"

Functions

int setup_tests (void **data)
 
int teardown_tests (void **data)
 
int main (int argc, char *argv[])
 
int showpass (void)
 
int showfail (void)
 

Variables

int verbose = 0
 
const char * suite_name
 
struct test tests []
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)
int setup_tests ( void **  data)
int showfail ( void  )

References verbose.

int showpass ( void  )

References verbose.

int teardown_tests ( void **  data)

References cleanup_angband(), file_delete(), k_info, mem_free(), and z_info.

Referenced by main().

Variable Documentation

const char* suite_name

Referenced by main().

struct test tests[]

Referenced by main().

int verbose = 0

Referenced by main(), showfail(), and showpass().