mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-16 03:34:56 +02:00
Adding tests/include/testing.h
This commit is contained in:
parent
ec7a67ad88
commit
93f6b1b030
1 changed files with 8 additions and 0 deletions
8
tests/include/testing.h
Normal file
8
tests/include/testing.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef LIBANTELOPE_TESTING_H
|
||||
#define LIBANTELOPE_TESTING_H
|
||||
|
||||
#include <doctest.h>
|
||||
|
||||
#define CHECK_PRED(a,b,pred) if (pred) { CHECK_EQ((a), (b)); } else { CHECK_NE((a), (b)); }
|
||||
|
||||
#endif /* LIBANTELOPE_TESTING_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue