notcurses/tests/main.h
2020-06-07 05:08:46 -04:00

23 lines
445 B
C++

#ifndef NOTCURSES_TEST_MAIN
#define NOTCURSES_TEST_MAIN
#include <unistd.h>
#include "version.h"
#include <doctest/doctest.h>
#include <notcurses/notcurses.h>
#include <ncpp/NotCurses.hh>
#include <ncpp/_exceptions.hh>
#include "internal.h"
auto find_data(const char* datum) -> char*;
auto enforce_utf8() -> bool;
class TestOptions : public notcurses_options {
public:
TestOptions() {
flags = NCOPTION_SUPPRESS_BANNERS;
}
};
#endif