aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/increment_operators.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-01-24 01:43:01 +0900
committernsfisis <nsfisis@gmail.com>2026-01-24 01:43:01 +0900
commitc780cbb6acd0e0526f2d305138190392bdc8cdd7 (patch)
treedf1edba6eb5778a00e1f4c8a5051414d5bb37e71 /tests/increment_operators.sh
parentd179d944c0633d3aa2420009335791b115f67052 (diff)
downloadducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.gz
ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.zst
ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.zip
refactor: organize test files
Diffstat (limited to 'tests/increment_operators.sh')
-rw-r--r--tests/increment_operators.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/increment_operators.sh b/tests/increment_operators.sh
deleted file mode 100644
index e7fb221..0000000
--- a/tests/increment_operators.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-cat <<'EOF' > expected
-44
-44
-46
-46
-44
-42
-42
-EOF
-
-test_diff <<'EOF'
-int printf();
-
-int main() {
- int a = 42;
- ++a;
- a++;
- printf("%d\n", a);
- printf("%d\n", a++);
- printf("%d\n", ++a);
- printf("%d\n", a);
- --a;
- a--;
- printf("%d\n", a--);
- printf("%d\n", --a);
- printf("%d\n", a);
-}
-EOF