#include "base/tuple.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
namespace {
void DoAdd(int a, int b, int c, int* res) { … }
struct Addy { … };
struct Addz { … };
}
TEST(TupleTest, Basic) { … }
namespace {
struct CopyLogger { … };
void SomeLoggerMethRef(const CopyLogger& logy, const CopyLogger* ptr, bool* b) { … }
void SomeLoggerMethCopy(CopyLogger logy, const CopyLogger* ptr, bool* b) { … }
int CopyLogger::TimesCopied = …;
int CopyLogger::TimesConstructed = …;
}
TEST(TupleTest, Copying) { … }
}