Wrote basic makefile, wrote tests, and then fixed them

This commit is contained in:
Dan Hirsch 2012-04-29 01:45:52 +01:00
parent 7adae0da7c
commit faab7b7cf8
11 changed files with 137 additions and 11 deletions

14
src/test_suite.c Normal file
View file

@ -0,0 +1,14 @@
#include "hammer.h"
#include "test_suite.h"
extern void register_bitreader_tests();
int main(int argc, char** argv) {
g_test_init(&argc, &argv, NULL);
// register various test suites...
register_bitreader_tests();
g_test_run();
}