2024-02-22 12:16:24 -08:00
|
|
|
#include "pch.h"
|
|
|
|
|
2024-02-28 16:16:07 -08:00
|
|
|
BigBufferUser getBigBufferCurrentUser();
|
2024-02-22 12:16:24 -08:00
|
|
|
|
|
|
|
TEST(BigBuffer, CppMagic) {
|
|
|
|
BigBufferHandle h = getBigBuffer(BigBufferUser::ToothLogger);
|
|
|
|
ASSERT_EQ(getBigBufferCurrentUser(), BigBufferUser::ToothLogger);
|
|
|
|
h = {};
|
2024-02-22 12:19:21 -08:00
|
|
|
ASSERT_EQ(getBigBufferCurrentUser(), BigBufferUser::None);
|
2024-02-22 12:16:24 -08:00
|
|
|
}
|