You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
notcurses/tests/libav.cpp

22 lines
415 B
C++

#include <notcurses.h>
#include "main.h"
class LibavTest : public :: testing::Test {
protected:
void SetUp() override {
}
void TearDown() override {
}
};
TEST_F(LibavTest, LoadImage) {
int ret = notcurses_visual_open(nullptr, "../tools/dsscaw-purp.png");
ASSERT_EQ(0, ret);
}
TEST_F(LibavTest, LoadVideo) {
int ret = notcurses_visual_open(nullptr, "../tools/atliens.mkv");
ASSERT_EQ(0, ret);
}