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