mirror of
https://github.com/tw93/Mole.git
synced 2026-03-22 18:30:08 +00:00
Add comprehensive test coverage for the RingBuffer circular buffer data structure used in network history tracking. Test cases: - Constructor initialization (NewRingBuffer) - Empty buffer returns nil slice - Adding elements within capacity - Exact capacity boundary - Wrap-around behavior with chronological ordering - Multiple wrap-arounds stress test - Single-element buffer edge case - Slice returns independent copy (not reference)