添加测试

This commit is contained in:
2026-01-05 02:55:21 +08:00
parent 9d0790370f
commit 1f679551f2
20 changed files with 784 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#include <gtest/gtest.h>
#include "codec/frame.h"
TEST(CodecFrame, DefaultState)
{
olive::Frame frame;
EXPECT_EQ(frame.width(), 0);
EXPECT_EQ(frame.height(), 0);
EXPECT_EQ(frame.pixel_format(), olive::core::PixelFormat::Format::kFormatNone);
}