def test_list_to_line_break_string_no_sort(input_data, expected_result): assert list_to_line_break_string_no_sort(input_data) == expected_result
def test_list_to_line_break_string_no_sort(self): input_data = ['b', 'a'] self.assertEqual(list_to_line_break_string_no_sort(input_data), 'b\na\n')