Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e464ed3

Browse files
committed
Add integration test
1 parent f634649 commit e464ed3

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
@@ -553,6 +553,7 @@ RUN(NAME test_list_pop LABELS cpython llvm llvm_jit NOFAST) # TODO: Remove
553553
RUN(NAME test_list_pop2 LABELS cpython llvm llvm_jit NOFAST) # TODO: Remove NOFAST from here.
554554
RUN(NAME test_list_pop3 LABELS cpython llvm llvm_jit)
555555
RUN(NAME test_list_compare LABELS cpython llvm llvm_jit)
556+
RUN(NAME test_list_compare2 LABELS cpython llvm llvm_jit)
556557
RUN(NAME test_list_concat LABELS cpython llvm llvm_jit c NOFAST)
557558
RUN(NAME test_list_reserve LABELS cpython llvm llvm_jit)
558559
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)