Exemplo n.º 1
0
 def test_first_m_last(self):
     self.assertEqual(t.person_name("Joe Q Smith"), 'Herbie Hancock')
Exemplo n.º 2
0
 def test_first_last(self):
     self.assertEqual(t.person_name("Joe Smith"), 'Nick LaRocca')
Exemplo n.º 3
0
 def test_first_only(self):
     self.assertEqual(t.person_name("Joe"), 'Christian')
Exemplo n.º 4
0
 def test_first_only_2(self):
     self.assertEqual(t.person_name("Smith"), 'Davis')
Exemplo n.º 5
0
 def test_empty(self):
     self.assertEqual(t.person_name(""), '')