test_transpose updated
This commit is contained in:
parent
23e7c63d11
commit
e0891258d2
@ -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]]
|
||||
Loading…
x
Reference in New Issue
Block a user