notcurses/tests/input.cpp
2020-06-07 05:08:46 -04:00

15 lines
293 B
C++

#include "main.h"
TEST_CASE("NotcursesInput") {
notcurses_options nopts{};
struct notcurses* nc_ = notcurses_init(&nopts, nullptr);
if(!nc_){
return;
}
REQUIRE(0 == notcurses_mouse_enable(nc_));
CHECK(0 == notcurses_mouse_disable(nc_));
CHECK(0 == notcurses_stop(nc_));
}