def testNormal(self): self.assertEqual(convert('1 * 2 / ( 2 - 3 )'), '1 2 * 2 3 - /')
def testNoSpace(self): self.assertEqual(convert('1+3*4-2'), '1 3 4 * + 2 -')
def testPriority(self): self.assertEqual(convert(' 1 * 2^3/(2-3)^(3*2) '), '1 2 3 ^ * 2 3 - 3 2 * ^ /')
def testPower(self): self.assertEqual(convert(' 1*2^3-3/2 '), '1 2 3 ^ * 3 2 / -')
def testMoreConvert(self): self.assertEqual(convert(' 1 +2/(2-3) '), convert('1+2/(2-3)'))
def testMoreParenthesiss(self): self.assertEqual(convert('1 + 2 * 3 +(2 *( 4 + 3) ) * 2' ), '1 2 3 * + 2 4 3 + * 2 * +')
def testParenthesis(self): self.assertEqual(convert('( 1 + 3 ) * 4'), '1 3 + 4 *')