circular_buffer
circular_buffer copied to clipboard
Fix slice unit test
This fixes the unit test so that it matches the result of Enum.slice
on a regular list.
iex> Enum.slice([1, 2, 3, 4, 5], -6, 5)
[1, 2, 3, 4, 5]