0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/test/test_helpers.h

16 lines
259 B
C
Raw Normal View History

#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