aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_helpers.h
blob: 7a61da82ea6cd1794281fccdb0ee4182e6c020c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef MP_TESTS_H
#define MP_TESTS_H

#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>

#include <stdio.h>
#include <math.h>
#include <float.h>

#define assert_double_equal(a, b) assert_true(fabs(a - b) <= DBL_EPSILON)

#endif