def test_trim_long_word(self): self.assertEqual("", create_data.trim("Matthew", 2))
def test_trim_do_not_split_word(self): self.assertEqual("Matthew ", create_data.trim("Matthew Henderson", 9))
def test_trim_string_short(self): self.assertEqual("Matthew", create_data.trim("Matthew", 9))
def test_trim(self): self.assertEqual("Matthew", create_data.trim("Matthew Henderson", 7))