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

Method Begin

UnitTests/UnitTest_MultiList/UnitTest_MultiList.h:107–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 void Begin()
108 {
109 if (count_columns == 0)
110 return;
111 size_t count = original_list->getItemCount();
112 if (count == 0)
113 return;
114
115 size_t index = (size_t)rand() % count;
116 original_list->setIndexSelected(index);
117
118 checkMultiList();
119 }
120
121 void Begin(size_t _count)
122 {

Callers

nothing calls this directly

Calls 2

getItemCountMethod · 0.45
setIndexSelectedMethod · 0.45

Tested by

no test coverage detected