test_transpose updated

This commit is contained in:
Mona Benkert 2025-11-06 12:39:51 +01:00
parent 23e7c63d11
commit e0891258d2

View File

@ -5,4 +5,12 @@ def test_transpose_1():
[4, 5, 6]]
assert transpose(a) == [[1, 4],
[2, 5],
[3, 6]]
[3, 6]]
def test_transpose_2():
a = [[3, 4, -1, 4],
[-2, 2, 5, 1]]
assert transpose(a) == [[3, -2],
[4, 2],
[-1, 5],
[4, 1]]