示例#1
0
 def test_get_column_max_len_int(self):
     data = [(1, 'd'), (11, 'd')]
     assert_that(UnityDoc.get_column_max_len(data), equal_to([2, 1]))
示例#2
0
 def test_get_column_max_len_int(self):
     data = [(1, 'd'), (11, 'd')]
     assert_that(UnityDoc.get_column_max_len(data), equal_to([2, 1]))
示例#3
0
 def test_get_column_max_len_str(self):
     data = [('but', '', 'd'), ('of', 'hand', 'i')]
     assert_that(UnityDoc.get_column_max_len(data), equal_to([3, 4, 1]))
示例#4
0
 def test_get_column_max_len_str(self):
     data = [('but', '', 'd'), ('of', 'hand', 'i')]
     assert_that(UnityDoc.get_column_max_len(data), equal_to([3, 4, 1]))