| 180 | static ::std::shared_ptr<HolyMoley> hm; |
| 181 | |
| 182 | void testCaseSetup_3() { |
| 183 | testCaseSetup_2(); |
| 184 | |
| 185 | hm.reset(new HolyMoley); |
| 186 | |
| 187 | hm->big.push_back(*ooe); |
| 188 | hm->big.push_back(n->my_ooe); |
| 189 | hm->big[0].a_bite = 0x22; |
| 190 | hm->big[1].a_bite = 0x33; |
| 191 | |
| 192 | std::vector<std::string> stage1; |
| 193 | stage1.push_back("and a one"); |
| 194 | stage1.push_back("and a two"); |
| 195 | hm->contain.insert(stage1); |
| 196 | stage1.clear(); |
| 197 | stage1.push_back("then a one, two"); |
| 198 | stage1.push_back("three!"); |
| 199 | stage1.push_back("FOUR!!"); |
| 200 | hm->contain.insert(stage1); |
| 201 | stage1.clear(); |
| 202 | hm->contain.insert(stage1); |
| 203 | |
| 204 | std::vector<Bonk> stage2; |
| 205 | hm->bonks["nothing"] = stage2; |
| 206 | stage2.resize(stage2.size() + 1); |
| 207 | stage2.back().type = 1; |
| 208 | stage2.back().message = "Wait."; |
| 209 | stage2.resize(stage2.size() + 1); |
| 210 | stage2.back().type = 2; |
| 211 | stage2.back().message = "What?"; |
| 212 | hm->bonks["something"] = stage2; |
| 213 | stage2.clear(); |
| 214 | stage2.resize(stage2.size() + 1); |
| 215 | stage2.back().type = 3; |
| 216 | stage2.back().message = "quoth"; |
| 217 | stage2.resize(stage2.size() + 1); |
| 218 | stage2.back().type = 4; |
| 219 | stage2.back().message = "the raven"; |
| 220 | stage2.resize(stage2.size() + 1); |
| 221 | stage2.back().type = 5; |
| 222 | stage2.back().message = "nevermore"; |
| 223 | hm->bonks["poe"] = stage2; |
| 224 | } |
| 225 | |
| 226 | BOOST_AUTO_TEST_CASE(test_debug_proto_3) { |
| 227 | testCaseSetup_3(); |
no test coverage detected