dice
dice copied to clipboard
#184 : Test cases and benchmarking for queueref remove
Summary
Unit test cases for QueueRef.Remove() and benchmarking for QueueRef.
Changes
- Test for removing from queue with single non-expired keys.
- Test for removing from queue with multiple non-expired keys.
- Test for removing from queue with expired keys before non-expired.
- Test for removing from queue with multiple expired keys before non-expired.
- Test for removing from queue with all expired keys.
- Benchmark
Queuerefby inserting expired, non-expired and expired keys in order and removing them.
Benchmark results
Issue : #184
Thank you @JyotinderSingh
Please rebase this PR on master, the failing test should be fixed automatically.
Please rebase this PR on master, the failing test should be fixed automatically.
Done, tests are passing now, thanks