Note that it is not really a circular buffer in this case, but a full reset of the buffer to the beginning. This matches the documentation, but it seems valuable to add an explicit test for this case.
Note that it is not really a circular buffer in this case, but a full reset of the buffer to the beginning. This matches the documentation, but it seems valuable to add an explicit test for this case.