blob: 7bcb68960efff0e37cdbfbfdd91f8e4a2bd83e3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
test_exit_code 0 <<'EOF'
#include "../../helpers.h"
int main() {
ASSERT_EQ(1, 0 == 0);
ASSERT_EQ(0, 123 != 123);
ASSERT_EQ(1, 123 != 456);
ASSERT_EQ(0, 123 == 124);
ASSERT_EQ(1, 123 < 567);
ASSERT_EQ(1, 123 <= 567);
ASSERT_EQ(1, 123 <= 123);
ASSERT_EQ(0, 123 < 123);
}
EOF
|