mirror of
https://github.com/vale981/libblobpack
synced 2025-03-05 09:51:42 -05:00
add test-funcs.h
This commit is contained in:
parent
feca41ac8c
commit
f30e6e1eb2
1 changed files with 4 additions and 0 deletions
4
test/test-funcs.h
Normal file
4
test/test-funcs.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#pragma once
|
||||
|
||||
#define STR(x) #x
|
||||
#define TEST(x) if(!(x)){ printf("test failed at %d, %s: %s\n", __LINE__, __FILE__, STR(x)); exit(-1); } else { printf("[OK] %s\n", STR(x)); }
|
Loading…
Add table
Reference in a new issue