def test_no_sevens(self): self.assertEqual(False, sevens_in_a_row([1, 2, 3, 4, 5] , 1))
def test_four(self): self.assertEqual(True, sevens_in_a_row([7, 2, 1, 6, 2], 1))
def test_two(self): self.assertEqual(False, sevens_in_a_row([1, 7, 1, 7, 7], 4))
def test_three(self): self.assertEqual(True, sevens_in_a_row([7, 7, 7, 1, 1, 1, 7, 7, 7, 7], 3))
def test_one(self): self.assertEqual(True, sevens_in_a_row([10, 8, 7, 6, 7, 7, 7, 20, -7], 3))