rewritten all remaining tests without cppunit

This commit is contained in:
Martin Pulec
2023-03-07 13:58:29 +01:00
parent 8b61de68d9
commit 84db4767bb
15 changed files with 170 additions and 362 deletions

View File

@@ -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)