34 CHECK_EQ (call (
"xmake --version"), -1);
35 CHECK_EQ (call (
"no_such_command"), -1);
39 CHECK (call (
"xmake --version") == 0);
41 CHECK (call (
"no_such_command") != 0);
42 CHECK (call (
"") != 0);
int N(array< T > a)
Get the length of the array.
The list class represents a linked list.
#define TEST_MEMORY_LEAK_INIT
#define TEST_MEMORY_LEAK_ALL
int check_stderr(string cmd, string &result)
int check_stdout(string cmd, string &result)
int check_output(string s, string &result, bool stderr_only, int64_t timeout)
TEST_CASE("test for operator+= and advance()")