MCPcopy Create free account
hub / github.com/KDE/kdevelop / TestItem

Class TestItem

kdevplatform/util/tests/test_embeddedfreetree.cpp:24–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22#include <set>
23
24struct TestItem
25{
26 explicit TestItem(uint _value = 0) : value(_value)
27 {
28 }
29 uint value;
30 int leftChild = -1;
31 int rightChild = -1;
32 bool operator==(const TestItem& rhs) const
33 {
34 return value == rhs.value;
35 }
36
37 bool operator<(const TestItem& item) const
38 {
39 return value < item.value;
40 }
41};
42
43struct TestItemConversion
44{

Callers 5

toItemMethod · 0.70
extractMethod · 0.70
createFreeItemMethod · 0.70
containsMethod · 0.70
testFilteringMethod · 0.70

Calls

no outgoing calls

Tested by 5

toItemMethod · 0.56
extractMethod · 0.56
createFreeItemMethod · 0.56
containsMethod · 0.56
testFilteringMethod · 0.56