Esempio n. 1
0
 def test_last_only(self):
     self.assertEqual(t.last_name("Smith"), 'Davis')
Esempio n. 2
0
 def test_first_last(self):
     self.assertEqual(t.last_name("Joe Smith"), 'LaRocca')
Esempio n. 3
0
 def test_empty(self):
     self.assertEqual(t.last_name(""), '')