renamed various checking functions

This commit is contained in:
jlamothe
2023-11-11 03:40:00 +00:00
parent 3309ac7aee
commit c0f28d41b0
3 changed files with 88 additions and 88 deletions

View File

@@ -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