8 lines
205 B
Python
8 lines
205 B
Python
from matrixmania import transpose
|
|
|
|
def test_transpose_1():
|
|
a = [[1, 2, 3],
|
|
[4, 5, 6]]
|
|
assert transpose(a) == [[1, 4],
|
|
[2, 5],
|
|
[3, 6]] |