30 TEST(WindowTest, ChangeCapacity) {
50 TEST(WindowTest, ExceedWindow) {
58 TEST(WindowTest, Overflow) {
63 TEST(WindowTest, Underflow) {
71 TEST(WindowTest, HugeReserve) {
76 TEST(WindowTest, HugeFree) {
83 TEST(WindowTest, HugeFree2) {
84 for (
unsigned i = 0;
i < 10; ++
i) {
91 TEST(WindowTest, BytesOutstanding) {
101 TEST(WindowTest, BytesOutstandingAfterFail) {
115 TEST(WindowTest, NewCapacityOverflow) {
uint32_t getCapacity() const
#define ASSERT_EQ(val1, val2)
uint32_t getOutstanding() const
bool reserve(uint32_t amount, bool strict=true)
bool setCapacity(uint32_t capacity)
#define ASSERT_FALSE(condition)
bool free(uint32_t amount)
#define ASSERT_TRUE(condition)