Files
exercism/python/matrix/__pycache__/matrix_test.cpython-39-pytest-6.2.5.pyc
T

28 lines
2.6 KiB
Plaintext
Raw Normal View History

2021-11-15 20:53:07 +00:00
a
òäŽa¹ã@sTddlZddlmmZddlZddlmZGdd„dej ƒZ
e dkrPe  ¡dS)éN)ÚMatrixc@sLeZdZdd„Zdd„Zdd„Zdd„Zd d
„Zd d „Zd
d„Z dd„Z
dS)Ú
MatrixTestcCs tdƒ}| | d¡dg¡dS©NÚ1é©rÚ assertEqualÚrow©ÚselfÚmatrix©r
ú=/home/dwrz/archive/code/exercism/python/matrix/matrix_test.pyÚ'test_extract_row_from_one_number_matrix sz2MatrixTest.test_extract_row_from_one_number_matrixcCs"tdƒ}| | d¡ddg¡dS)Nz1 2
3 4ééérr
r
r
rÚtest_can_extract_rowszMatrixTest.test_can_extract_rowcCs"tdƒ}| | d¡ddg¡dS)Nz 1 2
10 20ré
érr
r
r
rÚ4test_extract_row_where_numbers_have_different_widthssz?MatrixTest.test_extract_row_where_numbers_have_different_widthscCs"tdƒ}| | d¡gd¢¡dS)Nz1 2 3
4 5 6
7 8 9
8 7 6r)ééérr
r
r
rÚHtest_can_extract_row_from_non_square_matrix_with_no_corresponding_columnszSMatrixTest.test_can_extract_row_from_non_square_matrix_with_no_corresponding_columncCs tdƒ}| | d¡dg¡dSr©rrÚcolumnr
r
r
rÚ*test_extract_column_from_one_number_matrixsz5MatrixTest.test_extract_column_from_one_number_matrixcCs"tdƒ}| | d¡gd¢¡dS)Nz1 2 3
4 5 6
7 8 9r)rré rr