コード例 #1
0
	def testPredictedEndEqualRealEnd(self):
		predictedEnd = 30;
		realEnd = 30;

		endIndex = compareKmerCommon.getEndIndex(predictedEnd, realEnd);
		self.assertEqual(endIndex, realEnd)	
コード例 #2
0
	def testPredictedEndBeforeRealEnd(self):
		predictedEnd = 10;
		realEnd = 20;

		endIndex = compareKmerCommon.getEndIndex(predictedEnd, realEnd);
		self.assertEqual(endIndex, predictedEnd)