mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
[visual-tests] update media reference
This commit is contained in:
parent
8d2f1ec639
commit
ddac4706d8
@ -81,7 +81,7 @@ TEST_CASE("Visual") {
|
||||
if(notcurses_canopen_videos(nc_)){
|
||||
int dimy, dimx;
|
||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv"));
|
||||
REQUIRE(ncv);
|
||||
for(;;){ // run at the highest speed we can
|
||||
int ret = ncvisual_decode(ncv);
|
||||
@ -104,7 +104,7 @@ TEST_CASE("Visual") {
|
||||
if(notcurses_canopen_videos(nc_)){
|
||||
int dimy, dimx;
|
||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv"));
|
||||
REQUIRE(ncv);
|
||||
for(;;){ // run at the highest speed we can
|
||||
int ret = ncvisual_decode(ncv);
|
||||
@ -128,7 +128,7 @@ TEST_CASE("Visual") {
|
||||
if(notcurses_canopen_videos(nc_)){
|
||||
int dimy, dimx;
|
||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv"));
|
||||
REQUIRE(ncv);
|
||||
for(;;){ // run at the highest speed we can
|
||||
int ret = ncvisual_decode(ncv);
|
||||
@ -151,7 +151,7 @@ TEST_CASE("Visual") {
|
||||
if(notcurses_canopen_videos(nc_)){
|
||||
int dimy, dimx;
|
||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv"));
|
||||
REQUIRE(ncv);
|
||||
for(;;){ // run at the highest speed we can
|
||||
int ret = ncvisual_decode(ncv);
|
||||
@ -174,7 +174,7 @@ TEST_CASE("Visual") {
|
||||
if(notcurses_canopen_videos(nc_)){
|
||||
int dimy, dimx;
|
||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv"));
|
||||
REQUIRE(ncv);
|
||||
for(;;){ // run at the highest speed we can
|
||||
int ret = ncvisual_decode(ncv);
|
||||
@ -197,7 +197,7 @@ TEST_CASE("Visual") {
|
||||
if(notcurses_canopen_videos(nc_)){
|
||||
int dimy, dimx;
|
||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv"));
|
||||
REQUIRE(ncv);
|
||||
int ret;
|
||||
while((ret = ncvisual_decode(ncv)) == 0){
|
||||
@ -224,7 +224,7 @@ TEST_CASE("Visual") {
|
||||
if(notcurses_canopen_videos(nc_)){
|
||||
int dimy, dimx;
|
||||
ncplane_dim_yx(ncp_, &dimy, &dimx);
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesII.mkv"));
|
||||
auto ncv = ncvisual_from_file(find_data("notcursesIII.mkv"));
|
||||
REQUIRE(ncv);
|
||||
CHECK(0 == ncvisual_decode(ncv));
|
||||
/*CHECK(dimy * 2 == frame->height);
|
||||
|
Loading…
Reference in New Issue
Block a user