def test_smartjoin_for_empty_list(self): list_to_join = [] filtered_string = '' assert smartjoin(list_to_join) == filtered_string
def test_smartjoin_for_one_item(self): list_to_join = ['one'] filtered_string = 'one' assert smartjoin(list_to_join) == filtered_string
def test_smartjoin_for_more_than_one_item(self): list_to_join = ['one', 'two', 'three', 'four'] filtered_string = 'one, two, three and four' assert smartjoin(list_to_join) == filtered_string
def test_smartjoin_for_empty_list(): list_to_join = [] filtered_string = '' assert smartjoin(list_to_join) == filtered_string
def test_smartjoin_for_one_item(): list_to_join = ['one'] filtered_string = 'one' assert smartjoin(list_to_join) == filtered_string
def test_smartjoin_for_more_than_one_item(): list_to_join = ['one', 'two', 'three', 'four'] filtered_string = 'one, two, three and four' assert smartjoin(list_to_join) == filtered_string