add test file for progressbars #1258
parent
f22ddfa72f
commit
dad7a02b25
@ -0,0 +1,17 @@
|
||||
#include "main.h"
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
|
||||
TEST_CASE("ProgressBar") {
|
||||
auto nc_ = testing_notcurses();
|
||||
if(!nc_){
|
||||
return;
|
||||
}
|
||||
struct ncplane* n_ = notcurses_stdplane(nc_);
|
||||
REQUIRE(n_);
|
||||
REQUIRE(0 == ncplane_cursor_move_yx(n_, 0, 0));
|
||||
|
||||
// FIXME add tests
|
||||
|
||||
CHECK(0 == notcurses_stop(nc_));
|
||||
}
|
Loading…
Reference in New Issue