Beispiel #1
0
 def test_equals_2(self):
     self.assertEqual(make_acronym('a42'), 'Not letters')
Beispiel #2
0
 def test_equals(self):
     self.assertEqual(make_acronym('Hello codewarrior'), 'HC')
Beispiel #3
0
 def test_equals_4(self):
     self.assertEqual(make_acronym([2, 12]), 'Not a string')
Beispiel #4
0
 def test_equals_5(self):
     self.assertEqual(make_acronym({'name': 'Abraham'}), 'Not a string')
Beispiel #5
0
 def test_equals_3(self):
     self.assertEqual(make_acronym(42), 'Not a string')