def test_walk_empty_string(self): self.assertEquals(day3.walk(""), 0)
def test_walk_bad_string(self): with self.assertRaises(ValueError): day3.walk("your mom")
def test_walk_case_3(self): self.assertEquals(day3.walk("^v^v^v^v^v", "part2"), 11)
def test_walk_case_2(self): self.assertEquals(day3.walk("^>v<", "part2"), 3)
def test_walk_bad_string(self): with self.assertRaises(ValueError): day3.walk("your mom goes to college", "part2")
def test_walk_case_2(self): self.assertEquals(day3.walk("^>v<"), 4)
def test_walk_case_1(self): self.assertEquals(day3.walk(">"), 2)