test_transpose updated
This commit is contained in:
parent
23e7c63d11
commit
e0891258d2
@ -6,3 +6,11 @@ def test_transpose_1():
|
|||||||
assert transpose(a) == [[1, 4],
|
assert transpose(a) == [[1, 4],
|
||||||
[2, 5],
|
[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