MCPcopy Create free account
hub / github.com/defold/defold / TEST

Function TEST

engine/dlib/src/test/test_set.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include <set>
23
24TEST(dmSet, Constructor)
25{
26 dmSet<uint32_t> s;
27 ASSERT_EQ(0u, s.Capacity());
28 ASSERT_EQ(0u, s.Size());
29 ASSERT_EQ(true, s.Full());
30 ASSERT_EQ(true, s.Empty());
31 ASSERT_EQ((uint32_t*)0, s.Begin());
32 ASSERT_EQ((uint32_t*)0, s.End());
33}
34
35TEST(dmSet, Simple)
36{

Callers

nothing calls this directly

Calls 15

RemoveMethod · 0.80
CapacityMethod · 0.45
SizeMethod · 0.45
FullMethod · 0.45
EmptyMethod · 0.45
BeginMethod · 0.45
EndMethod · 0.45
SetCapacityMethod · 0.45
OffsetCapacityMethod · 0.45
AddMethod · 0.45
ContainsMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected