diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -88,6 +88,11 @@ void test_int_equals_imp(const char *expression, int result, int expected) print_result(result == expected, "%s == %d", expression, expected); } +void test_long_equals_imp(const char *expression, long result, long expected) +{ + print_result(result == expected, "%s == %l", expression, expected); +} + void test_double_imp(const char *expression, double result, double expected) { int success = (result - expected < DBL_EPSILON); |