def test_walk_case_2(self): result = day1.walk("()()") self.assertEquals(result['floor'], 0)
def test_walk_case_9(self): result = day1.walk(")())())") self.assertEquals(result['floor'], -3)
def test_walk_case_11(self): result = day1.walk("()())") self.assertEquals(result['basementchar'], 5)
def test_walk_case_5(self): result = day1.walk("))(((((") self.assertEquals(result['floor'], 3)