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"


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


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

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 

◆ setup_tests()

int setup_tests ( void **  data)

◆ showfail()

int showfail ( void  )

References verbose.

◆ showpass()

int showpass ( void  )

References verbose.

◆ teardown_tests()

int teardown_tests ( void **  data)

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

Referenced by main().

Variable Documentation

◆ suite_name

const char* suite_name

Referenced by main().

◆ tests

struct test tests[]

Referenced by main().

◆ verbose

int verbose = 0

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