def test_dac_slow_2(self): self.assertEqual(1, solution_dac(self.slow_2))
def test_dac_x3(self): self.assertEqual(1, solution_dac([1, 2] * 3 + [2]))
def test_dac_3(self): self.assertEqual(0, solution_dac([1, 2, 3, 1]))
def test_dac_x(self): self.assertEqual(0, solution_dac([1, 2] * 3))
def test_dac_1(self): self.assertEqual(1, solution_dac([2, 3, 9, 2, 2]))