1
0
Fork 0
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:
Henrik Hautakoski 2023-05-31 10:45:25 +02:00
parent ec7a67ad88
commit 93f6b1b030

8
tests/include/testing.h Normal file
View 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 */