示例#1
0
 def test_extract_last_number_occurrence2(self):
     self.assertEqual('93', calculator.extract_last_number_occurrence('34+93-*/+='))
示例#2
0
 def test_extract_last_number_occurrence_with_fail1(self):
     with self.assertRaises(Exception):
         calculator.extract_last_number_occurrence('')
示例#3
0
 def test_extract_last_number_occurrence1(self):
     self.assertEqual('28.6', calculator.extract_last_number_occurrence('34+93-28.6'))