mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-12 16:06:11 +00:00
19 lines
329 B
C++
19 lines
329 B
C++
#include "base/fastlist.h"
|
|
#include "base/logging.h"
|
|
|
|
/*
|
|
#include <gtest/gtest.h>
|
|
|
|
TEST(fastlist, AddRemove) {
|
|
InlineFastList<int, 8> list;
|
|
list.Add(8);
|
|
list.Remove(7);
|
|
EXPECT_EQ(1, list.size());
|
|
list.Remove(8);
|
|
EXPECT_EQ(0, list.size());
|
|
list.Add(1);
|
|
list.Add(2);
|
|
list.Add(3);
|
|
EXPECT_EQ(3, list.size());
|
|
}
|
|
*/ |