添加测试
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user