Angband
Functions | Variables
mage.c File Reference
#include "unit-test.h"
#include "unit-test-data.h"
#include "test-utils.h"
#include <stdio.h>
#include "cave.h"
#include "cmd-core.h"
#include "game-event.h"
#include "game-world.h"
#include "init.h"
#include "savefile.h"
#include "player.h"
#include "player-timed.h"
#include "z-util.h"

Functions

static void event_message (game_event_type type, game_event_data *data, void *user)
static void println (const char *str)
int setup_tests (void **state)
int teardown_tests (void **state)
int test_magic_missile (void *state)

Variables

const char * suite_name = "game/mage"
struct test tests []

Function Documentation

static void event_message ( game_event_type  type,
game_event_data data,
void user 
)
static
static void println ( const char *  str)
static

Referenced by setup_tests().

int setup_tests ( void **  state)
int teardown_tests ( void **  state)

References cleanup_angband(), and file_delete().

int test_magic_missile ( void state)

Variable Documentation

const char* suite_name = "game/mage"
struct test tests[]
Initial value:
{
{ "magic_missile", test_magic_missile },
{ NULL, NULL }
}