util/CircularBuffer: rename GetSize() to GetCapacity()

This commit is contained in:
Max Kellermann
2014-03-15 23:11:35 +01:00
parent 8f74bf314d
commit 3d4f588a7f
2 changed files with 24 additions and 22 deletions

View File

@@ -24,6 +24,8 @@ public:
int data[N];
CircularBuffer<int> buffer(data, N);
CPPUNIT_ASSERT_EQUAL(size_t(N), buffer.GetCapacity());
/* '.' = empty; 'O' = occupied; 'X' = blocked */
/* checks on empty buffer */