mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Improve CircularBuffer documentation (#180)
This commit is contained in:
committed by
Peter Johnson
parent
57efd13f7f
commit
f7c3f13a7f
@@ -28,7 +28,7 @@ TEST(CircularBufferTest, PushFrontTest) {
|
||||
queue.PushFront(value);
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < pushFrontOut.size(); i++) {
|
||||
for (size_t i = 0; i < pushFrontOut.size(); i++) {
|
||||
EXPECT_EQ(pushFrontOut[i], queue[i]);
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,7 @@ TEST(CircularBufferTest, PushBackTest) {
|
||||
queue.PushBack(value);
|
||||
}
|
||||
|
||||
for (unsigned int i = 0; i < pushBackOut.size(); i++) {
|
||||
for (size_t i = 0; i < pushBackOut.size(); i++) {
|
||||
EXPECT_EQ(pushBackOut[i], queue[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user