diff options
author | glx <glx@openttd.org> | 2006-09-06 13:58:31 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2006-09-06 13:58:31 +0000 |
commit | 39ba62d48fbcc549833175c4d421b66a27141b0e (patch) | |
tree | f8bb6378cb9c8e4ee677312346e48a0574f59c03 /yapf/unittest/unittest.h | |
parent | 7c6851b436003e3f4fe694b6bbf751f49d9d3e47 (diff) | |
download | openttd-39ba62d48fbcc549833175c4d421b66a27141b0e.tar.xz |
(svn r6410) -remove unittest
Diffstat (limited to 'yapf/unittest/unittest.h')
-rw-r--r-- | yapf/unittest/unittest.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/yapf/unittest/unittest.h b/yapf/unittest/unittest.h deleted file mode 100644 index f448ea341..000000000 --- a/yapf/unittest/unittest.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ */ - -#define UNITTEST - -extern int num_tests_failed; -extern int num_tests_total; - -extern bool _dbg; -#define DBG if(_dbg) printf - - -#define CHECK_INT(case_num, val, should_be) \ -{ \ - if((val) != (should_be)) { \ - res |= (1 << case_num); \ - printf("\n****** ERROR in case %d: " #val " = %d (should be %d)!", case_num, (val), (should_be)); \ - } \ -} - -typedef int(*TESTPROC)(bool silent); - -//#undef FORCEINLINE -//#define FORCEINLINE - - -#if defined(_WIN32) || defined(_WIN64) -# include <windows.h> -#else -#endif |