#include "exec_frontend.hpp" #include "sanitize.hpp" #include #include int main(int , char * []) { nntpchan::Frontend_ptr f(new nntpchan::ExecFrontend("./contrib/nntpchan.sh")); assert(nntpchan::IsValidMessageID("")); assert(f->AcceptsNewsgroup("overchan.test")); std::cout << "all good" << std::endl; }