def test_Part1Example2(self): self.assertEqual(problem18.Compute1("1 + (2 * 3) + (4 * (5 + 6))"), 51)
def test_Part1Example1(self): self.assertEqual(problem18.Compute1("1 + 2 * 3 + 4 * 5 + 6"), 71)
def test_Part1Example6(self): self.assertEqual( problem18.Compute1( "((2 + 4 * 9) * (6 + 9 * 8 + 6) + 6) + 2 + 4 * 2"), 13632, )
def test_Part1Example5(self): self.assertEqual( problem18.Compute1("5 * 9 * (7 * 3 * 3 + 9 * 3 + (8 + 6 * 4))"), 12240, )
def test_Part1Example4(self): self.assertEqual(problem18.Compute1("5 + (8 * 3 + 9 + 3 * 4 * 3)"), 437)
def test_Part1Example3(self): self.assertEqual(problem18.Compute1("2 * 3 + (4 * 5)"), 26)