Пример #1
0
 def test_last_only(self):
     self.assertEqual(t.last_name("Smith"), 'Davis')
Пример #2
0
 def test_first_last(self):
     self.assertEqual(t.last_name("Joe Smith"), 'LaRocca')
Пример #3
0
 def test_empty(self):
     self.assertEqual(t.last_name(""), '')