Skip to content

Commit

Permalink
Expand the benchmarking and unit test suite for ring_buf.
Browse files Browse the repository at this point in the history
-Adds unit tests for fn get() and fn get_mut() which are currently untested
-Adds unit tests to verify growth of the ringbuffer when reserve is called.
-Adds unit tests to confirm that dropping of items is correct
Move ringbuf to use a raw buffer instead of Option<T>
  • Loading branch information
csherratt committed Nov 14, 2014
1 parent 6f7081f commit 7a666df
Showing 1 changed file with 486 additions and 199 deletions.

0 comments on commit 7a666df

Please sign in to comment.