test/sam: add tests for empty matches at the end of a range
[vis-test.git] / fuzz / fuzzer.h
blob32655321f4d73345be8786e62c8e5f1a827ed02b
1 #ifndef FUZZER_H
2 #define FUZZER_H
4 enum CmdStatus {
5 CMD_FAIL = false,
6 CMD_OK = true,
7 CMD_ERR, /* syntax error */
8 CMD_QUIT, /* quit, accept no further commands */
9 };
11 static const char *cmd_status_msg[] = {
12 [CMD_FAIL] = "Fail\n",
13 [CMD_OK] = "",
14 [CMD_ERR] = "Syntax error\n",
15 [CMD_QUIT] = "Bye\n",
18 #endif