def test_example_4(self): self.assertEqual(part1("se,sw,se,sw,sw"), 3)
def test_example_3(self): self.assertEqual(part1("ne,ne,s,s"), 2)
def test_example_1(self): self.assertEqual(part1("ne,ne,ne"), 3)
def test_example_2(self): self.assertEqual(part1("ne,ne,sw,sw"), 0)
def test_input(self): self.assertEqual(part1(get_input(2017, 11)), 784)