def testPredictedEndEqualRealEnd(self): predictedEnd = 30; realEnd = 30; endIndex = compareKmerCommon.getEndIndex(predictedEnd, realEnd); self.assertEqual(endIndex, realEnd)
def testPredictedEndBeforeRealEnd(self): predictedEnd = 10; realEnd = 20; endIndex = compareKmerCommon.getEndIndex(predictedEnd, realEnd); self.assertEqual(endIndex, predictedEnd)