def test_build_string_from_array_of_arrays_multiple_elements(self): self.assert_line_by_line_equal('''[ [ 'a', 'b' ], [ 'c', 'd' ] ]''', build_string_from_array([['a', 'b'], ['c', 'd']]))
def test_build_string_from_array_of_arrays_multiple_elements(self): self.assert_line_by_line_equal('''[ [ 'a', 'b' ], [ 'c', 'd' ] ]''', build_string_from_array([['a', 'b'], ['c', 'd']]))
def test_build_string_from_array_of_arrays_single_element(self): self.assert_line_by_line_equal('''[ ['a'], ['b'] ]''', build_string_from_array([['a'], ['b']]))
def test_build_string_from_array_of_array_of_empty(self): self.assert_line_by_line_equal('''[[]]''', build_string_from_array([[]]))
def test_build_string_from_array_simple(self): self.assert_line_by_line_equal("['a']", build_string_from_array(['a']))
def test_build_string_from_array_empty(self): self.assert_line_by_line_equal('[]', build_string_from_array([]))
def test_build_string_from_array_of_arrays_single_element(self): self.assert_line_by_line_equal( '''[ ['a'], ['b'] ]''', build_string_from_array([['a'], ['b']]))
def test_build_string_from_array_of_array_of_empty(self): self.assert_line_by_line_equal('''[[]]''', build_string_from_array([[]]))
def test_build_string_from_array_simple(self): self.assert_line_by_line_equal("['a']", build_string_from_array(['a']))
def test_build_string_from_array_empty(self): self.assert_line_by_line_equal('[]', build_string_from_array([]))