Test: Add tests for ring buffer functionality

This commit is contained in:
Jonathan G Rennison
2023-08-19 11:44:58 +01:00
parent 3f2b06fcbe
commit 8d3a90425c
3 changed files with 351 additions and 0 deletions

View File

@@ -46,6 +46,9 @@ class ring_buffer
ring_buffer_iterator_base(const ring_buffer *ring, uint32 pos)
: ring(ring), pos(pos) {}
public:
uint32 debug_raw_position() const { return this->pos; }
};
public: