made compare_ints() and compare_ptrs() accessible from outside util
This commit is contained in:
16
test/util.h
16
test/util.h
@@ -36,4 +36,20 @@ extern void compare_states(
|
||||
const TestState * // actual state
|
||||
);
|
||||
|
||||
// compare two ints
|
||||
extern void compare_ints(
|
||||
TestState *,
|
||||
const char *, // the error context
|
||||
int, // the expected value
|
||||
int // the actual value
|
||||
);
|
||||
|
||||
// compare two pointers
|
||||
extern void compare_ptrs(
|
||||
TestState *,
|
||||
const char *, // the error context
|
||||
void *, // the expected value
|
||||
void * // the actual value
|
||||
);
|
||||
|
||||
//jl
|
||||
|
||||
Reference in New Issue
Block a user