aboutsummaryrefslogtreecommitdiffstats
path: root/test/TestCircularBuffer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestCircularBuffer.hxx')
-rw-r--r--test/TestCircularBuffer.hxx2
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 */