def testGroundTruthParser_2(self): ground_truth = [r'$1\pm 20- 173$'] gt_list = ip.groundTruthParser(ground_truth) self.assertEqual(len(gt_list), 8)
def testGroundTruthParser_1(self): ground_truth = [r'$1\pm 134 \div \pi$'] gt_list = ip.groundTruthParser(ground_truth) self.assertEqual(len(gt_list), 7)