def testAddIfBetter(self):
     n = PointEvaluator()
     numbers = range(0,99)
     numbers.append(200)
     n.addIfBetter(numbers, 100)
     self.assertEqual(100,numbers[-1])
 def testAddIfBetterWhenListIsNotFull(self):
     n = PointEvaluator()
     numbers = range(0,PointEvaluator.BEST_POINTS_LIST_LENGTH-1)
     numbers = n.addIfBetter(numbers, 200)
     self.assertEqual(200,numbers[-1])