From 0385817bb1301a778bb33f8405a435293b9f8905 Mon Sep 17 00:00:00 2001 From: David Moc Date: Thu, 5 Mar 2026 23:38:49 +0100 Subject: Pushing to repo for safety. --- tests/comparison.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/comparison.c (limited to 'tests/comparison.c') diff --git a/tests/comparison.c b/tests/comparison.c new file mode 100644 index 0000000..44b7f46 --- /dev/null +++ b/tests/comparison.c @@ -0,0 +1,14 @@ +int main() { + int a = 10; + int b = 5; + int c = 10; + + int lt = a < b; + int le = a <= c; + int gt = a > b; + int ge = a >= c; + int eq = a == c; + int ne = a != b; + + return lt + le + gt + ge + eq + ne; +} -- cgit v1.2.3