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

Method checkList

UnitTests/UnitTest_MultiList/UnitTest_List.h:39–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 void checkList()
40 {
41 assert(count_items == original_list->getItemCount());
42 assert(original_list->getItemCount() == mirror_list->getItemCount());
43
44 for (size_t pos = 0; pos < count_items; ++pos)
45 {
46 assert(original_list->getItemNameAt(pos) == mirror_list->getItemNameAt(pos));
47 assert(*original_list->getItemDataAt<size_t>(pos) == *mirror_list->getItemDataAt<size_t>(pos));
48 }
49
50 original_list->_checkAlign();
51 }
52
53 void Begin()
54 {

Callers

nothing calls this directly

Calls 2

_checkAlignMethod · 0.80
getItemCountMethod · 0.45

Tested by

no test coverage detected