mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 03:08:39 +00:00
rewritten all remaining tests without cppunit
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "libavcodec/from_lavc_vid_conv.h"
|
||||
#include "libavcodec/to_lavc_vid_conv.h"
|
||||
#include "tv.h"
|
||||
#include "unit_common.h"
|
||||
#include "video_capture/testcard_common.h"
|
||||
#include "video_codec.h"
|
||||
|
||||
@@ -45,11 +46,6 @@ extern "C" {
|
||||
bool ff_codec_conversions_test_pX10_from_to_v210();
|
||||
}
|
||||
|
||||
#define ASSERT_MESSAGE(msg, expr) if (!(expr)) { \
|
||||
cerr << "Assertion " << #expr << " failed: " << (msg) << "\n"; \
|
||||
return false; \
|
||||
}
|
||||
|
||||
#define CHECK(expr) if (!(expr)) { return false; }
|
||||
|
||||
#define TIMER(t) struct timeval t{}; gettimeofday(&(t), nullptr)
|
||||
|
||||
Reference in New Issue
Block a user