Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EndstoneMC/endstone
/ TEST
Function
TEST
tests/bedrock/test_static_optimized_string.cpp:21–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
namespace Bedrock {
20
21
TEST(StaticOptimizedStringTest, DefaultConstructor)
22
{
23
StaticOptimizedString s;
24
EXPECT_EQ(s.get(), nullptr);
25
EXPECT_EQ(s.length(), 0);
26
}
27
28
TEST(StaticOptimizedStringTest, SmallStringInitialization)
29
{
Callers
nothing calls this directly
Calls
6
view
Method · 0.80
get
Method · 0.45
length
Method · 0.45
empty
Method · 0.45
c_str
Method · 0.45
reset
Method · 0.45
Tested by
no test coverage detected