Commit 7b793edc authored by Yoni Fogel's avatar Yoni Fogel

Addresses #288

Added test of get_size to get code coverage again to 100%

git-svn-id: file:///svn/tokudb@2124 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2051f518
......@@ -28,6 +28,8 @@ int main(int argc, const char *argv[]) {
range.right = &nums[1];
range.data = &letters[0];
r = toku_rt_insert(tree, &range); CKERR(r);
u_int32_t num_in_range = toku_rt_get_size(tree);
assert(num_in_range == 1);
r = toku_rt_delete(tree, &range); CKERR(r);
range.left = &nums[1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment