diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-24 01:43:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-24 01:43:01 +0900 |
| commit | c780cbb6acd0e0526f2d305138190392bdc8cdd7 (patch) | |
| tree | df1edba6eb5778a00e1f4c8a5051414d5bb37e71 /tests/comma_operator.sh | |
| parent | d179d944c0633d3aa2420009335791b115f67052 (diff) | |
| download | ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.gz ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.zst ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.zip | |
refactor: organize test files
Diffstat (limited to 'tests/comma_operator.sh')
| -rw-r--r-- | tests/comma_operator.sh | 36 |
1 files changed, 0 insertions, 36 deletions
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 |
