def test_sentence(self): sentence = "Hooligans defaced the cafe." self.assertEqual(hexadecimal(sentence.replace(' ', '\n')), ['defaced', 'cafe'])
def test_cog(self): self.assertEqual(hexadecimal('cog'), [])
def test_deed(self): self.assertEqual(hexadecimal('deed'), ['deed'])
def test_cab(self): self.assertEqual(hexadecimal('cab'), ['cab'])
def test_bed(self): self.assertEqual(hexadecimal('bed'), ['bed'])
def test_sentence(self): sentence = "Hooligans defaced the cafe." self.assertEqual( hexadecimal(sentence.replace(' ', '\n')), ['defaced', 'cafe'] )