MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / TEST

Function TEST

internal/new_test.cc:30–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28using ::testing::NotNull;
29
30TEST(New, Basic) {
31 void* p = New(sizeof(uint64_t));
32 EXPECT_THAT(p, NotNull());
33 Delete(p);
34}
35
36TEST(AlignedNew, Basic) {
37 void* p =

Callers

nothing calls this directly

Calls 8

NewFunction · 0.85
AlignedNewFunction · 0.85
AlignedDeleteFunction · 0.85
SizeReturningNewFunction · 0.85
SizedDeleteFunction · 0.85
SizeReturningAlignedNewFunction · 0.85
SizedAlignedDeleteFunction · 0.85
DeleteFunction · 0.70

Tested by

no test coverage detected