Skip to content

Commit ff7517a

Browse files
committed
[unittest/python] test .tolist()
1 parent 44f8bdc commit ff7517a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unittest/python/test_std_array.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
print(ints[0])
66
print(ints[1])
77
print(ints[2])
8+
print(ints.tolist())
9+
assert ints.tolist() == [1, 2, 3]
810

911
_ints_slice = ints[1:3]
1012
print("Printing slice...")

0 commit comments

Comments
 (0)