Skip to content

Commit 0888700

Browse files
committed
Add integration tests
1 parent 6590e31 commit 0888700

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

integration_tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ RUN(NAME test_builtin_round LABELS cpython llvm c)
287287
RUN(NAME test_builtin_divmod LABELS cpython llvm c)
288288
RUN(NAME test_math1 LABELS cpython llvm c)
289289
RUN(NAME test_math_02 LABELS cpython llvm)
290+
RUN(NAME test_pass_compare LABELS cpython llvm)
290291
RUN(NAME test_c_interop_01 LABELS cpython llvm c)
291292
RUN(NAME test_c_interop_02 LABELS cpython llvm c
292293
EXTRAFILES test_c_interop_02b.c)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from ltypes import i32
2+
3+
def f():
4+
a11: tuple[i32, i32]
5+
b11: tuple[i32, i32]
6+
a11 = (1, 2)
7+
b11 = (1, 2)
8+
assert a11 == b11
9+
c11: tuple[i32, i32]
10+
c11 = (1, 3)
11+
assert a11 != c11 and c11 != b11
12+
13+
f()

0 commit comments

Comments
 (0)