#include "quiche/quic/core/packet_number_indexed_queue.h"
#include <limits>
#include <map>
#include <string>
#include "quiche/quic/core/quic_packet_number.h"
#include "quiche/quic/platform/api/quic_test.h"
namespace quic::test {
namespace {
class PacketNumberIndexedQueueTest : public QuicTest { … };
TEST_F(PacketNumberIndexedQueueTest, InitialState) { … }
TEST_F(PacketNumberIndexedQueueTest, InsertingContinuousElements) { … }
TEST_F(PacketNumberIndexedQueueTest, InsertingOutOfOrder) { … }
TEST_F(PacketNumberIndexedQueueTest, InsertingIntoPast) { … }
TEST_F(PacketNumberIndexedQueueTest, InsertingDuplicate) { … }
TEST_F(PacketNumberIndexedQueueTest, RemoveInTheMiddle) { … }
TEST_F(PacketNumberIndexedQueueTest, RemoveAtImmediateEdges) { … }
TEST_F(PacketNumberIndexedQueueTest, RemoveAtDistantFront) { … }
TEST_F(PacketNumberIndexedQueueTest, RemoveAtDistantBack) { … }
TEST_F(PacketNumberIndexedQueueTest, ClearAndRepopulate) { … }
TEST_F(PacketNumberIndexedQueueTest, FailToRemoveElementsThatNeverExisted) { … }
TEST_F(PacketNumberIndexedQueueTest, FailToRemoveElementsTwice) { … }
TEST_F(PacketNumberIndexedQueueTest, RemoveUpTo) { … }
TEST_F(PacketNumberIndexedQueueTest, ConstGetter) { … }
}
}