def test_case(self): self.assertEqual(6622, day09.calc_b(getInput()))
def test_case_garbage_7(self): self.assertEqual(10, day09.calc_b('<{o"i!a,<{i<a>'))
def test_case_garbage_6(self): self.assertEqual(0, day09.calc_b("<!!!>>"))
def test_case_garbage_4(self): self.assertEqual(2, day09.calc_b("<{!>}>"))
def test_case_garbage_3(self): self.assertEqual(3, day09.calc_b("<<<<>"))
def test_case_garbage_2(self): self.assertEqual(17, day09.calc_b("<random characters>"))