mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-10-31 15:20:13 +00:00
22 lines
415 B
C++
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);
|
|
}
|