Skip to content

Commit f3857e7

Browse files
hankluo6ubaidsk
authored andcommitted
Add integration test
1 parent 666a58d commit f3857e7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

integration_tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,7 @@ RUN(NAME test_list_pop LABELS cpython llvm llvm_jit NOFAST) # TODO: Remove
555555
RUN(NAME test_list_pop2 LABELS cpython llvm llvm_jit NOFAST) # TODO: Remove NOFAST from here.
556556
RUN(NAME test_list_pop3 LABELS cpython llvm llvm_jit)
557557
RUN(NAME test_list_compare LABELS cpython llvm llvm_jit)
558+
RUN(NAME test_list_compare2 LABELS cpython llvm llvm_jit)
558559
RUN(NAME test_list_concat LABELS cpython llvm llvm_jit c NOFAST)
559560
RUN(NAME test_list_reserve LABELS cpython llvm llvm_jit)
560561
RUN(NAME test_const_list LABELS cpython llvm llvm_jit)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
from lpython import i32
2+
3+
x: list[i32] = [1, 2, 3, 4]
4+
y: list[i32] = [5, 6, 7, 8]
5+
z: list[i32] = [1, 2, 3, 4]
6+
7+
assert(x != y)
8+
assert(x == z)

0 commit comments

Comments
 (0)