def testReceiveNull(self):
     '''The test function returns '-1' when receives a None value instead of a string.'''
     self.assertEqual(countCharacters(None), -1)
 def testReceiveNull(self):
     '''The test function returns '-1' when receives a None value instead of a string.'''
     self.assertEqual(countCharacters(None), -1)
 def testBasic(self):
     '''The test function should be working for the basic cases.'''
     a = ''
     b = 'abc'
     self.assertEqual(countCharacters(a), len(a))
     self.assertEqual(countCharacters(b), len(b))
 def testBasic(self):
     '''The test function should be working for the basic cases.'''
     a = ''
     b = 'abc'
     self.assertEqual(countCharacters(a), len(a))
     self.assertEqual(countCharacters(b), len(b))