def test_max_cpl(self): result = annotator.cpl('5000') self.assertEqual(result, annotator.MAX_CPL)
def test_negativestring(self): result = annotator.cpl('-2001') self.assertEqual(result, -2001)
def test_string(self): result = annotator.cpl('5') self.assertEqual(result, 5)
def test_bigstring(self): result = annotator.cpl('1000') self.assertEqual(result, 1000)
def test_int(self): result = annotator.cpl(5) self.assertEqual(result, 5)