| 105 | } |
| 106 | |
| 107 | void Sample3Module::DataTest() |
| 108 | { |
| 109 | std::cout << GET_CLASS_NAME(Sample3Module) << ", DataTest" << std::endl; |
| 110 | |
| 111 | // create player |
| 112 | auto pEntity = CreateAnPlayerAndInit(); |
| 113 | ARK_ASSERT_RET_NONE(pEntity != nullptr); |
| 114 | |
| 115 | const AFGUID& id = pEntity->GetID(); |
| 116 | const size_t count = 5000000; |
| 117 | |
| 118 | QueryStringTest(id, count, 1); |
| 119 | //QueryStringTest(id, count, 2); |
| 120 | //QueryStringTest(id, count, 3); |
| 121 | |
| 122 | QueryIntTest(id, count, 1); |
| 123 | //QueryIntTest(id, count, 2); |
| 124 | //QueryIntTest(id, count, 3); |
| 125 | |
| 126 | SetDataTest(id, count, 1); |
| 127 | //SetDataTest(id, count, 2); |
| 128 | //SetDataTest(id, count, 3); |
| 129 | |
| 130 | CustomDataTest(id, count, 1); |
| 131 | } |
| 132 | |
| 133 | void Sample3Module::TableTest() |
| 134 | { |
nothing calls this directly
no outgoing calls
no test coverage detected