Created
December 2, 2012 02:36
-
-
Save garybernhardt/4186672 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define assert_equals(expected, actual)\ | |
if (expected != actual) {\ | |
printf("FAIL: %#Lx != %#Lx\n", (uint64_t)expected, (uint64_t)actual);\ | |
exit(1); \ | |
} | |
#define run_test(name)\ | |
printf("%s\n", #name);\ | |
name(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment