renamed various checking functions
This commit is contained in:
24
test/util.h
24
test/util.h
@@ -27,29 +27,29 @@
|
||||
// initializes a sample TestState value
|
||||
void mk_sample_state(TestState *);
|
||||
|
||||
// compares two TestState values
|
||||
extern void compare_states(
|
||||
// ensures two TestState values are equal
|
||||
extern void chk_TestState_eq(
|
||||
TestState *, // the state we are *actually* updating ;)
|
||||
const char *, // prefix for each status line
|
||||
const char *, // context for errors
|
||||
const TestState *, // expected state
|
||||
const TestState * // actual state
|
||||
const TestState *, // actual state
|
||||
const TestState * // expected state
|
||||
);
|
||||
|
||||
// compare two ints
|
||||
extern void compare_ints(
|
||||
// ensure two integers are equal
|
||||
extern void chk_int_eq(
|
||||
TestState *,
|
||||
const char *, // the error context
|
||||
int, // the expected value
|
||||
int // the actual value
|
||||
int, // the actual value
|
||||
int // the expected value
|
||||
);
|
||||
|
||||
// compare two pointers
|
||||
extern void compare_ptrs(
|
||||
// ensure two pointers are equal
|
||||
extern void chk_ptr_eq(
|
||||
TestState *,
|
||||
const char *, // the error context
|
||||
void *, // the expected value
|
||||
void * // the actual value
|
||||
void *, // the actual value
|
||||
void * // the expected value
|
||||
);
|
||||
|
||||
//jl
|
||||
|
||||
Reference in New Issue
Block a user