pikapython/test/python/builtin/list_tuple_equ.py

17 lines
351 B
Python
Raw Normal View History

2023-03-26 21:30:18 +08:00
""" TODO: need fix
# Test list equivalence
assert [1, 2, 3] == [1, 2, 3]
assert [1, 2, 3] != [1, 2, 4]
assert [] == []
assert [1, 2, 3] != []
assert [1, 2, 3] != [1, 2, 3, 4]
# Test tuple equivalence
assert (1, 2, 3) == (1, 2, 3)
assert (1, 2, 3) != (1, 2, 4)
assert () == ()
assert (1, 2, 3) != ()
assert (1, 2, 3) != (1, 2, 3, 4)
"""
print("PASS")