mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 09:02:38 +00:00
293dfc7825
Just use cmocka's function. It takes an epsilon argument, which we now provide directly. There's no assert_double_equal() in cmocka (and the float variant actually forces a conversion to the float type), but fortunately we didn't use it.
14 lines
184 B
C
14 lines
184 B
C
#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>
|
|
|
|
#endif
|