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