def test35(self):  # 10*e^0*log10(.4 -5/ -0.1-10)+abs(-53/10)-5
     list_ = []
     for el in sort_to_polish([10.0, '*', 'e', '^', 0.0, '*', 'log10', '(', 0.4, '-', 5.0, '/', '-', 0.1,
                               '-', 10.0, ')', '+', 'abs', '(', '-', 53.0, '/', 10.0, ')', '-', 5.0]):
         list_.append(el)
     self.assertEqual(list_, [10.0, 'e', 0.0, '^', '*', 0.4, 5.0, 0.0, 0.1, '-', '/', '-', 10.0, '-', 'log10', '*',
                              0.0, 53.0, 10.0, '/', '-', 'abs', '+', 5.0, '-'])
 def test84(self):  # pow(2.0^(2.0^2.0*2.0^2.0),sin(log10(100)*log10(1000)))
     list_ = []
     for el in sort_to_polish(['pow', '(', 2.0, '^', '(', 2.0, '^', 2.0, '*', 2.0, '^', 2.0, ')', ',', 'sin', '(',
                              'log10', '(', 100.0, ')', '*', 'log10', '(', 1000.0, ')', ')', ')']):
         list_.append(el)
     self.assertEqual(list_, [2.0, 2.0, 2.0, '^', 2.0, 2.0, '^', '*', '^', ',', 100.0, 'log10', 1000.0, 'log10', '*',
                              'sin', 'pow'])
 def test24(self):
     list_ = []
     for el in sort_to_polish([1.0, '+', 2.0, '*', 4.0, '/', 3.0, '+', 1.0, '!=',
                               1.0, '+', 2.0, '*', 4.0, '/', 3.0, '+', 2.0]):
         list_.append(el)
     self.assertEqual(list_, [1.0, 2.0, 4.0, '*', 3.0, '/', '+', 1.0, '+', 1.0,
                              2.0, 4.0, '*', 3.0, '/', '+', 2.0, '+', '!='])
 def test33(self):
     list_ = []
     for el in sort_to_polish(['(', 2.0, '^', '(', 'pi', '/', 'pi', '+', 'e', '/', 'e', '+', 2.0, '^', 0.0, ')',
                               ')', '^', '(', 1.0, '/', 3.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [2.0, 'pi', 'pi', '/', 'e', 'e', '/', '+', 2.0, 0.0, '^', '+',
                              '^', 1.0, 3.0, '/', '^'])
 def test38(self):  # sin(e^log(e^e^sin(23.0),45.0) + cos(3.0+log10(e^-e)))
     list_ = []
     for el in sort_to_polish(['sin', '(', 'e', '^', 'log', '(', 'e', '^', 'e', '^', 'sin',
                               '(', 23.0, ')', ',', 45.0, ')', '+', 'cos', '(', 3.0, '+', 'log10',
                               '(', 'e', '^', '-', 'e', ')', ')', ')']):
         list_.append(el)
     self.assertEqual(list_, ['e', 'e', 'e', 23.0, 'sin', '^', '^', ',', 45.0, 'log', '^', 3.0, 'e', 0.0,
                              'e', '-', '^', 'log10', '+', 'cos', '+', 'sin'])
 def test36(self):
     list_ = []
     for el in sort_to_polish(['sin', '(', '-', 'cos', '(', '-', 'sin', '(', 3.0, ')', '-', 'cos', '(', '-', 'sin',
                               '(', '-', 3.0, '*', 5.0, ')', '-', 'sin', '(', 'cos', '(', 'log10', '(', 43.0, ')',
                               ')', ')', ')', '+', 'cos', '(', 'sin', '(', 'sin', '(', 34.0, '-', 2.0, '^', 2.0, ')',
                               ')', ')', ')', '+', 'cos', '(', 1.0, ')', '+', 'cos', '(', 0.0, ')', '^', 3.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [0.0, 0.0, 3.0, 'sin', '-', 0.0, 0.0, 3.0, 5.0, '*', '-', 'sin', '-', 43.0, 'log10',
                              'cos', 'sin', '-', 'cos', '-', 34.0, 2.0, 2.0, '^', '-', 'sin', 'sin', 'cos', '+',
                              'cos', '-', 1.0, 'cos', '+', 0.0, 3.0, '^', 'cos', '+', 'sin'])
 def test67(self):
     list_ = []
     for el in sort_to_polish(['sin', '(', 'log', '(', 8.0, ',', 2.0, ')', '*',
                               'log', '(', 16.0, ',', 2.0, ')', ')']):
         list_.append(el)
     self.assertEqual(list_, [8.0, ',', 2.0, 'log', 16.0, ',', 2.0, 'log', '*', 'sin'])
 def test83(self):
     list_ = []
     for el in sort_to_polish(['sin', '(', 'pow', '(', 2.0, ',', 4.0, ')', '*', 'pow', '(', 2.0, ',', 3.0, ')', ')']):
         list_.append(el)
     self.assertEqual(list_, [2.0, ',', 4.0, 'pow', 2.0, ',', 3.0, 'pow', '*', 'sin'])
 def test14(self):
     list_ = []
     for el in sort_to_polish(['log10', '(', 100.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [100.0, 'log10'])
 def test12(self):
     list_ = []
     for el in sort_to_polish(['log', '(', 'e', ')']):
         list_.append(el)
     self.assertEqual(list_, ['e', 'log'])
 def test10(self):
     list_ = []
     for el in sort_to_polish([100.0, '/', 3.0, '%', 2.0, '^', 2.0]):
         list_.append(el)
     self.assertEqual(list_, [100.0, 3.0, '/', 2.0, 2.0, '^', '%'])
 def test93(self):
     list_ = []
     for el in sort_to_polish(['(', '(', 1.0, ')', ')']):
         list_.append(el)
     self.assertEqual(list_, [1.0])
 def tes90(self):
     list_ = []
     for el in sort_to_polish([1.0, '*', '(', 13.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [1.0, 13.0, '*'])
 def test85(self):
     list_ = []
     for el in sort_to_polish([13.0]):
         list_.append(el)
     self.assertEqual(list_, [13.0])
 def test65(self):
     list_ = []
     for el in sort_to_polish(['log', '(', 8.0, ',', 2.0, ')', '-', 1.0]):
         list_.append(el)
     self.assertEqual(list_, [8.0, ',', 2.0, 'log', 1.0, '-'])
 def test60(self):
     list_ = []
     for el in sort_to_polish(['abs', '(', '-', 'round', '(', 3.56393, ')', ')']):
         list_.append(el)
     self.assertEqual(list_, [0.0, 3.56393, 'round', '-', 'abs'])
 def test59(self):
     list_ = []
     for el in sort_to_polish(['round', '(', 3.56393, ')']):
         list_.append(el)
     self.assertEqual(list_, [3.56393, 'round'])
 def test58(self):
     list_ = []
     for el in sort_to_polish(['abs', '(', '-', 3.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [0.0, 3.0, '-', 'abs'])
 def test88(self):
     list_ = []
     for el in sort_to_polish([1.0, '*', '-', 13.0]):
         list_.append(el)
     self.assertEqual(list_, [1.0, 0.0, 13.0, '-', '*'])
 def test68(self):  # log(8+20-1,2+1)
     list_ = []
     for el in sort_to_polish(['log', '(', 8.0, '+', 20.0, '-', 1.0, ',', 2.0, '+', 1.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [8.0, 20.0, '+', 1.0, '-', ',', 2.0,  1.0, '+', 'log'])
 def test8(self):
     list_ = []
     for el in sort_to_polish([10.0, '^', '(', 2.0, '+', 1.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [10.0, 2.0, 1.0, '+', '^'])
 def test71(self):
     list_ = []
     for el in sort_to_polish(['(', 'log10', '(', 100.0, ')', '-', 1.0, ')', '-', 2.0]):
         list_.append(el)
     self.assertEqual(list_, [100.0, 'log10', 1.0, '-', 2.0, '-'])
 def test94(self):
     list_ = []
     for el in sort_to_polish(['-', '(', '-', '(', '-', 1.0, ')', ')']):
         list_.append(el)
     self.assertEqual(list_, [0.0, 0.0, 0.0, 1.0, '-', '-', '-'])
 def test6(self):
     list_ = []
     for el in sort_to_polish([1.0, '+', '(', 2.0, '+', 3.0, '*', 2.0, ')', '*', 3.0]):
         list_.append(el)
     self.assertEqual(list_, [1.0, 2.0, 3.0, 2.0, '*', '+', 3.0, '*', '+'])
 def test11(self):
     list_ = []
     for el in sort_to_polish(['pi', '+', 'e']):
         list_.append(el)
     self.assertEqual(list_, ['pi', 'e', '+'])
 def test76(self):
     list_ = []
     for el in sort_to_polish(['log10', '(', 800.0, '/', 2.0, '/', 4.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [800.0, 2.0, '/', 4.0, '/', 'log10'])
 def test1(self):
     list_ = []
     for el in sort_to_polish(['-', 13.0]):
         list_.append(el)
     self.assertEqual(list_, [0.0, 13.0, '-'])
 def test78(self):  # log(pow(10,2),10)
     list_ = []
     for el in sort_to_polish(['log', '(', 'pow', '(', 10.0, ',', 2.0, ')', ',', 10.0, ')']):
         list_.append(el)
     self.assertEqual(list_, [10.0, ',', 2.0, 'pow', ',', 10.0, 'log'])
 def test15(self):
     list_ = []
     for el in sort_to_polish(['sin', '(', 'pi', '/', 2.0, ')', '*', 111.0, '*', 6.0]):
         list_.append(el)
     self.assertEqual(list_, ['pi', 2.0, '/', 'sin', 111.0, '*', 6.0, '*'])
 def test81(self):
     list_ = []
     for el in sort_to_polish(['pow', '(', 2.0, ',', 4.0, ')', '-', 1.0]):
         list_.append(el)
     self.assertEqual(list_, [2.0, ',', 4.0, 'pow', 1.0, '-'])