def test_slicer1(): res = slicer([1, 2, 3, 4, 5, 6, 7, 8], 4) assert res == [[1, 2, 3, 4], [5, 6, 7, 8]]
def test_slicer2(): res = slicer(["10", "20", "30", "40", "50", "60", "70", "80"], 4, tuple) assert res == [("10", "20", "30", "40"), ("50", "60", "70", "80")]
def test_slicer2(): res = slicer(['10', '20', '30', '40', '50', '60', '70', '80'], 4, tuple) assert res == [('10', '20', '30', '40'), ('50', '60', '70', '80')]