def testAlphaHelixPi(self):
     """
     If a string of AlphaHelix_pi ('I') is given, the correct string must be
     returned.
     """
     result = combineHelices('IIIII')
     self.assertEqual('KKKKK', result)
 def testAllTypes(self):
     """
     If a string of a mixture of all alpha helix structure types ('H', 'G',
     'I') is given, the correct string must be returned.
     """
     result = combineHelices('HGIGH')
     self.assertEqual('KKKKK', result)
 def testAlphaHelix310(self):
     """
     If a string of AlphaHelix_3_10 ('G') is given, the correct string must
     be returned.
     """
     result = combineHelices('GGGGG')
     self.assertEqual('KKKKK', result)
 def testEnd(self):
     """
     If a helix is at the end of a sequence, the correct result must be
     returned.
     """
     result = combineHelices('SSSSHHH')
     self.assertEqual('CCCCKKK', result)
 def testMiddle(self):
     """
     If a helix is in the middle of a sequence, the correct result must be
     returned.
     """
     result = combineHelices('SSHHHSS')
     self.assertEqual('CCKKKCC', result)
 def testBeginning(self):
     """
     If a helix is at the beginning of a sequence, the correct result must
     be returned.
     """
     result = combineHelices('HHHSSSSS')
     self.assertEqual('KKKCCCCC', result)
 def testEmptyStructure(self):
     """
     If an empty structure sequence is passed in, the correct result must be
     returned.
     """
     result = combineHelices('')
     self.assertEqual('', result)