def test_example_6(self): self.assertEqual(part2("<!!!>>"), 0)
def test_example_7(self): self.assertEqual(part2('<{o"i!a,<{i<a>'), 10)
def test_example_4(self): self.assertEqual(part2("<{!>}>"), 2)
def test_example_3(self): self.assertEqual(part2("<<<<>"), 3)
def test_example_2(self): self.assertEqual(part2("<random characters>"), 17)
def test_example_1(self): self.assertEqual(part2("<>"), 0)
def test_input(self): self.assertEqual(part2(get_input(2017, 9)), 5288)