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

Function TEST

engine/dlib/src/test/test_hashtable.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50TEST(dmHashTable, EmtpyConstructor)
51{
52 dmHashTable32<int> ht;
53
54 EXPECT_EQ(0U, ht.Size());
55 EXPECT_EQ(0U, ht.Capacity());
56 EXPECT_EQ(true, ht.Full());
57 EXPECT_EQ(true, ht.Empty());
58}
59
60TEST(dmHashTable, SimplePut)
61{

Callers

nothing calls this directly

Calls 15

ASSERT_DEATHFunction · 0.85
randClass · 0.85
PrintPerformanceResultFunction · 0.85
MixKeyFunction · 0.85
IterateMethod · 0.80
GetIteratorMethod · 0.80
assertFunction · 0.50
SizeMethod · 0.45
CapacityMethod · 0.45
FullMethod · 0.45
EmptyMethod · 0.45
SetCapacityMethod · 0.45

Tested by

no test coverage detected