MCPcopy Create free account
hub / github.com/MyGUI/mygui / InsertItem

Method InsertItem

UnitTests/UnitTest_MultiList/UnitTest_List.h:92–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void InsertItem()
93 {
94 size_t index = count_items == 0 ? 0 : ((size_t)rand() % count_items);
95 size_t item = (size_t)rand();
96
97 mirror_list->insertItemAt(index, MyGUI::utility::toString(item), item);
98 original_list->insertItemAt(index, MyGUI::utility::toString(item), item);
99
100 count_items++;
101
102 checkList();
103 }
104
105 void InsertItem(size_t _count)
106 {

Callers

nothing calls this directly

Calls 3

toStringFunction · 0.85
InsertItemFunction · 0.85
insertItemAtMethod · 0.45

Tested by

no test coverage detected