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

◆ 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)

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().