def testFindDistanceZero(self): """ findDistance must return the right distance if codons are identical. """ distance = findDistance("ACA", "ACA") self.assertEqual(0, distance)
def testFindDistanceZero(self): """ findDistance must return the right distance if codons are identical. """ distance = findDistance('ACA', 'ACA') self.assertEqual(0, distance)
def testFindDistanceThree(self): """ findDistance must return the right distance if codons are different. """ distance = findDistance("ACA", "TGT") self.assertEqual(3, distance)
def testFindDistanceThree(self): """ findDistance must return the right distance if codons are different. """ distance = findDistance('ACA', 'TGT') self.assertEqual(3, distance)