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]))
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]))