diff options
author | Max Kellermann <max@duempel.org> | 2014-03-15 23:11:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-03-15 23:12:20 +0100 |
commit | 3d4f588a7ff6b3c0953d706c526f4f391db9dfd2 (patch) | |
tree | 2d8bbb2b5831708f7a988cc6ef5221cb24f68db1 /test/TestCircularBuffer.hxx | |
parent | 8f74bf314d706abbe25a8dd23a6465c0227ffc71 (diff) | |
download | mpd-3d4f588a7ff6b3c0953d706c526f4f391db9dfd2.tar.gz mpd-3d4f588a7ff6b3c0953d706c526f4f391db9dfd2.tar.xz mpd-3d4f588a7ff6b3c0953d706c526f4f391db9dfd2.zip |
util/CircularBuffer: rename GetSize() to GetCapacity()
Diffstat (limited to '')
-rw-r--r-- | test/TestCircularBuffer.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TestCircularBuffer.hxx b/test/TestCircularBuffer.hxx index e4285484b..f8fb95418 100644 --- a/test/TestCircularBuffer.hxx +++ b/test/TestCircularBuffer.hxx @@ -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 */ |