| 346 | } |
| 347 | |
| 348 | void OnTestFinish() override { |
| 349 | VerifyUnitExistsAndComplete(UNIT_TYPEID::PROTOSS_PYLON); |
| 350 | VerifyUnitIdleAfterOrder(test_unit_type_); |
| 351 | const ObservationInterface* obs = agent_->Observation(); |
| 352 | if (obs->GetPowerSources().size() != 1) { |
| 353 | ReportError("Pylon is not being counted as a power source."); |
| 354 | } |
| 355 | KillAllUnits(); |
| 356 | } |
| 357 | }; |
| 358 | |
| 359 |
nothing calls this directly
no test coverage detected