about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorColin Sherratt <colin.sherratt@gmail.com>2014-10-19 16:19:07 -0400
committerColin Sherratt <colin.sherratt@gmail.com>2014-11-14 03:41:07 -0500
commit7a666df5fa6295e82d4350a6eb105c0370aca7a1 (patch)
tree0fe1336d655e265cf4c3bf2bfe455a8b4a659f62 /src/rustllvm/RustWrapper.cpp
parent6f7081fad5889c7b41460103fc8abc98f3285c60 (diff)
downloadrust-7a666df5fa6295e82d4350a6eb105c0370aca7a1.tar.gz
rust-7a666df5fa6295e82d4350a6eb105c0370aca7a1.zip
Expand the benchmarking and unit test suite for ring_buf.
-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>
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions