Crossfire Server, Trunk
|
#include <stdlib.h>
#include <check.h>
#include <global.h>
#include <sproto.h>
#include <toolkit_common.h>
#include "shop.h"
Go to the source code of this file.
Functions | |
int | main (void) |
static void | setup (void) |
static END_TEST Suite * | shop_suite (void) |
START_TEST (test_query_cost) | |
static void | teardown (void) |
int main | ( | void | ) |
Definition at line 98 of file check_shop.cpp.
References cctk_setdatadir(), init(), and shop_suite().
|
static |
Definition at line 40 of file check_shop.cpp.
Referenced by shop_suite().
|
static |
Definition at line 85 of file check_shop.cpp.
References setup(), and teardown().
Referenced by main().
START_TEST | ( | test_query_cost | ) |
Definition at line 48 of file check_shop.cpp.
References archininventory::arch, arch_to_object(), CLEAR_FLAG, diamondslots::cost, FAIL_UNLESS, find_archetype(), FLAG_IDENTIFIED, FMT64U, get_empty_map(), disinfect::map, object::nrof, object_free_drop_inventory(), npc_dialog::player, PLAYER, and shop_price_sell().
|
static |
Definition at line 44 of file check_shop.cpp.
Referenced by shop_suite().