Add start/stop source

This commit is contained in:
John Zhao
2018-04-07 09:36:41 +08:00
parent f1b480e4c3
commit d80189512d
5 changed files with 86 additions and 0 deletions

View File

@@ -62,6 +62,12 @@ TEST(Option, VerifyToString) {
EXPECT_STREQ("Option::ERASE_CHIP", to_string(Option::ERASE_CHIP));
}
TEST(Source, VerifyToString) {
EXPECT_STREQ("Source::VIDEO_STREAMING", to_string(Source::VIDEO_STREAMING));
EXPECT_STREQ("Source::MOTION_TRACKING", to_string(Source::MOTION_TRACKING));
EXPECT_STREQ("Source::ALL", to_string(Source::ALL));
}
TEST(Format, VerifyToString) {
EXPECT_STREQ("Format::YUYV", to_string(Format::YUYV));
}