From 41d24c967eb5fce3f811fc567f60204c77dada15 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 8 Jan 2026 00:18:34 +0900 Subject: refactor: rewrite some tests in C --- tests/ternary_operator.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/ternary_operator.c (limited to 'tests/ternary_operator.c') diff --git a/tests/ternary_operator.c b/tests/ternary_operator.c new file mode 100644 index 0000000..1f46dbe --- /dev/null +++ b/tests/ternary_operator.c @@ -0,0 +1,6 @@ +#include + +int main() { + ASSERT_EQ(2, 1 ? 2 : 3); + ASSERT_EQ(5, 0 ? 4 : 5); +} -- cgit v1.2.3-70-g09d2