Crossfire Server, Trunk
|
#include <stdlib.h>
#include <check.h>
#include <global.h>
#include <assert.h>
#include "toolkit_common.h"
Go to the source code of this file.
Functions | |
static END_TEST Suite * | alchemy_suite (void) |
int | main (void) |
static float | recipe_chance (const recipe *rp, const object *skill) |
static void | setup (void) |
START_TEST (test_recipe_chance) | |
static void | teardown (void) |
|
static |
Definition at line 80 of file check_alchemy.cpp.
References setup(), and teardown().
Referenced by main().
int main | ( | void | ) |
Definition at line 93 of file check_alchemy.cpp.
References alchemy_suite().
Definition at line 48 of file check_alchemy.cpp.
References recipe::diff, object::level, MAX, and MIN.
Referenced by START_TEST().
|
static |
Definition at line 39 of file check_alchemy.cpp.
Referenced by alchemy_suite().
START_TEST | ( | test_recipe_chance | ) |
Definition at line 62 of file check_alchemy.cpp.
References recipe::diff, FAIL_UNLESS, object::level, and recipe_chance().
|
static |
Definition at line 43 of file check_alchemy.cpp.
Referenced by alchemy_suite().