1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
test_exit_code 0 <<'EOF'
#include "../../helpers.h"
int main() {
ASSERT_EQ(97, 'a');
ASSERT_EQ(48, '0');
ASSERT_EQ(92, '\\');
ASSERT_EQ(39, '\'');
ASSERT_EQ(10, '\n');
ASSERT_EQ(39, '\'');
ASSERT_EQ(34, '\"');
ASSERT_EQ(63, '\?');
ASSERT_EQ(92, '\\');
ASSERT_EQ(7, '\a');
ASSERT_EQ(8, '\b');
ASSERT_EQ(12, '\f');
ASSERT_EQ(10, '\n');
ASSERT_EQ(13, '\r');
ASSERT_EQ(9, '\t');
ASSERT_EQ(11, '\v');
ASSERT_EQ(0, '\0');
}
EOF
|