From c780cbb6acd0e0526f2d305138190392bdc8cdd7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 24 Jan 2026 01:43:01 +0900 Subject: refactor: organize test files --- tests/comma_operator.sh | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 tests/comma_operator.sh (limited to 'tests/comma_operator.sh') diff --git a/tests/comma_operator.sh b/tests/comma_operator.sh deleted file mode 100644 index b754cf5..0000000 --- a/tests/comma_operator.sh +++ /dev/null @@ -1,36 +0,0 @@ -cat <<'EOF' > expected -0 0 -1 1 -2 2 -3 3 -4 4 -EOF - -test_diff <<'EOF' -int printf(); - -int main() { - int i = 1000; - int j = 1000; - for (i = 0, j = 0; i < 5; i++, j++) { - printf("%d %d\n", i, j); - } -} -EOF - -cat <<'EOF' > expected -1 2 3 4 -0 0 5 -EOF - -test_diff <<'EOF' -int printf(); -int x, y, z = 5; -int main() { - int a, b; - a = 1, b = 2; - int c = 3, d = 4; - printf("%d %d %d %d\n", a, b, c, d); - printf("%d %d %d\n", x, y, z); -} -EOF -- cgit v1.3-1-g0d28